Rokas Kupstys
3f5bb5939a
Examples: Fix MinGW detection in makefiles. Fix example_null build due to missing IME input libs. ( #2590 )
ago%!(EXTRA string=4 years)
omar
9c8671e7b0
Tables: Add empty file, skeleton.
ago%!(EXTRA string=4 years)
ocornut
a7e21fb05f
Moving backends code from examples/ to backends/ (step 3: fixing project files)
ago%!(EXTRA string=5 years)
Moritz Heinemann
06f7854b16
Backends: OpenGL3: Add glad 2 to OpenGL loaders. ( #3330 )
ago%!(EXTRA string=5 years)
Rokas Kupstys
dc49b14e29
Misc: Fix examples of using other OpenGL3 bindings in Makefiles.
ago%!(EXTRA string=5 years)
David Kalnischkies
ac4262ad01
Backends: OpenGL3: Support older 2.x series of glbinding as loader for OpenGL3 ( #3061 )
...
This removes the unversioned definition IMGUI_IMPL_OPENGL_LOADER_GLBINDING in favor of two versioned ones to choose explicitly.
References: #2870 , 5e2329b98e
ago%!(EXTRA string=5 years)
Rokas Kupstys
00c515f51a
Add glbinding build sample to Makefiles of GL3 examples. ( #2870 )
ago%!(EXTRA string=5 years)
omar
7ff13f4ee1
Examples: Explicitly adding -DIMGUI_IMPL_OPENGL_LOADER_GL3W to Makefile to match linking settings
...
(otherwise if another loader such as Glew is accessible, the opengl3 backend might automatically use it). [#2919 , #2798 ]
ago%!(EXTRA string=5 years)
NeroBurner
e7e88ed413
Examples: SDL/GLFW + OpenGL3: Fixes for Makefile ( #2774 )
...
- append CXXFLAGS instead of overwriting them
- add glad.c build rule
ago%!(EXTRA string=6 years)
omar
42423d5ea4
Examples: Makefile: Tweaks so they are more consistent with each others. Added -g./opt/local includes for MacPorts on Mac OS X. ( #297 )
ago%!(EXTRA string=6 years)
omar
01586d33f3
Refactor: Added empty imgui_widgets.cpp + updated project files / makefiles etc. accordingly ( #2036 )
ago%!(EXTRA string=7 years)
omar
b127027cbd
Examples: OpenGL: Added support for glew and glad OpenGL loaders out of the box. ( #2001 , #2002 ). Changelog, tweaks, applied changes to SDL+OpenGL3 example.
ago%!(EXTRA string=7 years)
Jérémie Dumas
e476b7e727
WIP on configurable OpenGL loader. ( #2001 , #2002 )
ago%!(EXTRA string=7 years)
omar
8d58fbb5ed
Examples: Renamed example folders. ( #1870 )
ago%!(EXTRA string=7 years)
omar
85f9694bd4
Big example binding refactor (manually imported from Viewport branch, stripped out of Viewport code). ( #1870 )
...
Read examples/README.txt for some details.
ImDrawData: Added DisplayPos, DisplaySize fields honored by all backends (not strictly necessary to honor just now, but doing it to be ahead)
ago%!(EXTRA string=7 years)
Sam Hocevar
124d8522b1
Do not store compiled objects outside the project tree.
ago%!(EXTRA string=7 years)
Sam Hocevar
b6f251103b
Define SOURCES instead of OBJS in Makefiles.
...
OBJS is still deduced from SOURCES, but this change gives better control
over where the object files get actually written.
ago%!(EXTRA string=7 years)
Sam Hocevar
d4f63c3844
Use make variables $@ and $^ where appropriate.
ago%!(EXTRA string=7 years)
Sam Hocevar
551932697d
Ensure `make clean` is idempotent.
...
Prior to this, `make clean` would fail if the project was not already
fully built, and a second invokation would always fail.
ago%!(EXTRA string=7 years)
omar
91d77be36e
Examples: Makefile leave CXX alone, instead leave commented out options. (nb: codeship doesn't seem have clang++)
ago%!(EXTRA string=7 years)
Omar Cornut
3cdd2096ec
Examples: Use Clang in old Makefile.
ago%!(EXTRA string=7 years)
omar
ddff378daf
Examples: Synced Makefile comments. Added build/ folder into git ignore list/
ago%!(EXTRA string=7 years)
radius
8b6896faf9
add SDL GL3 makefile
ago%!(EXTRA string=8 years)
radius
e0aac34672
fix compilation on MINGW
ago%!(EXTRA string=8 years)
ocornut
1396659b72
Examples: Speculative fix for OSX Makefile to make Travis happy (re #812 )
ago%!(EXTRA string=8 years)
Felipe Oliveira Carvalho
6e6f04f513
Fix Mac OS X build and remove cruft from Makefile
ago%!(EXTRA string=9 years)
ocornut
031d4e689d
Examples: OpenGL3: Revert Makefile change for OSX for now ( #812 )
ago%!(EXTRA string=9 years)
Kun Lin
aa0cb13aa4
Correct name for linking opengl3_example
...
According to glfw offcial site, linking `libglfw.3.dylib` etc should
use `-lglfw`.
Changed this made the compilation on my Mac successfully.
ago%!(EXTRA string=9 years)
ocornut
b8f86ec4bd
Examples: OpenGL2/3 Makefile; Added -lGL to Linux build
ago%!(EXTRA string=9 years)
radius
a465b2b3d8
add msys2/mingw64 target
ago%!(EXTRA string=10 years)
ocornut
da807e55ea
Examples: Ignore list a little more friendly to Unix systems.
ago%!(EXTRA string=10 years)
Thomas Pöchtrager
947cf3434f
Added printf attribute to printf like text formatting functions
ago%!(EXTRA string=10 years)
ocornut
52a74701f5
Updated projects to reference new files ( #219 )
...
Didn't update iOS example (#247 )
ago%!(EXTRA string=10 years)
ocornut
06fbeed41a
Examples: Fixed Makefile
ago%!(EXTRA string=10 years)
ocornut
55edd522c2
Examples: Fixed Makefile
ago%!(EXTRA string=10 years)
ocornut
3f86554457
Examples: Makefile fixes.
ago%!(EXTRA string=10 years)
ocornut
4da432bd7b
Examples: Makefile
ago%!(EXTRA string=10 years)
ocornut
545a57d253
Examples: Refactored opengl_example into a glfw specific file that can be copied and pasted.
...
Other examples will follow.
ago%!(EXTRA string=10 years)
ocornut
b911f96a56
Examples: Speculative Makefile fix. I should get a Linux box instead on relying on Jenkins, this is pretty embarrassing.
ago%!(EXTRA string=10 years)
ocornut
dc7cdb3025
Examples: Fix Makefile
ago%!(EXTRA string=10 years)
ocornut
5aaf0cd2dc
Examples: Fix OpenGL3 example Makefile
ago%!(EXTRA string=10 years)
ocornut
3ed38f3313
Replaced dependency on glew (inc. prebuilt one for Windows) by gl3w in source form
...
Expecting something to break now.
ago%!(EXTRA string=10 years)
ocornut
987188d437
Fix Clang warning with offsetof() macro? Added -Wall in OpenGL 3 example.
ago%!(EXTRA string=11 years)
Olivier Chatry
a8d2bc69ed
added opengl3 sample, mix from @ocornut and @thelinked
ago%!(EXTRA string=11 years)
Tomoki SHISHIKURA (RTX-M7)
9bb95db68a
opengl_example makefile cross platform supported.
ago%!(EXTRA string=11 years)
ocornut
f4ee74b312
Renamed Makefile
ago%!(EXTRA string=11 years)
Marc Planard
e2655d104e
add a quick and dirty makefile to build on linux
ago%!(EXTRA string=11 years)