NeroBurner
e7e88ed413
Examples: SDL/GLFW + OpenGL3: Fixes for Makefile ( #2774 )
- append CXXFLAGS instead of overwriting them
- add glad.c build rule
5 years ago
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 )
6 years ago
omar
01586d33f3
Refactor: Added empty imgui_widgets.cpp + updated project files / makefiles etc. accordingly ( #2036 )
6 years ago
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.
6 years ago
Jérémie Dumas
e476b7e727
WIP on configurable OpenGL loader. ( #2001 , #2002 )
6 years ago
omar
8d58fbb5ed
Examples: Renamed example folders. ( #1870 )
7 years ago
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)
7 years ago
Sam Hocevar
124d8522b1
Do not store compiled objects outside the project tree.
8 years ago
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.
8 years ago
Sam Hocevar
d4f63c3844
Use make variables $@ and $^ where appropriate.
8 years ago
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.
8 years ago
omar
91d77be36e
Examples: Makefile leave CXX alone, instead leave commented out options. (nb: codeship doesn't seem have clang++)
7 years ago
Omar Cornut
3cdd2096ec
Examples: Use Clang in old Makefile.
7 years ago
omar
ddff378daf
Examples: Synced Makefile comments. Added build/ folder into git ignore list/
7 years ago
radius
8b6896faf9
add SDL GL3 makefile
7 years ago
radius
e0aac34672
fix compilation on MINGW
7 years ago
ocornut
1396659b72
Examples: Speculative fix for OSX Makefile to make Travis happy (re #812 )
8 years ago
Felipe Oliveira Carvalho
6e6f04f513
Fix Mac OS X build and remove cruft from Makefile
8 years ago
ocornut
031d4e689d
Examples: OpenGL3: Revert Makefile change for OSX for now ( #812 )
8 years ago
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.
8 years ago
ocornut
b8f86ec4bd
Examples: OpenGL2/3 Makefile; Added -lGL to Linux build
9 years ago
radius
a465b2b3d8
add msys2/mingw64 target
9 years ago
ocornut
da807e55ea
Examples: Ignore list a little more friendly to Unix systems.
9 years ago
Thomas Pöchtrager
947cf3434f
Added printf attribute to printf like text formatting functions
9 years ago
ocornut
52a74701f5
Updated projects to reference new files ( #219 )
Didn't update iOS example (#247 )
9 years ago
ocornut
06fbeed41a
Examples: Fixed Makefile
10 years ago
ocornut
55edd522c2
Examples: Fixed Makefile
10 years ago
ocornut
3f86554457
Examples: Makefile fixes.
10 years ago
ocornut
4da432bd7b
Examples: Makefile
10 years ago
ocornut
545a57d253
Examples: Refactored opengl_example into a glfw specific file that can be copied and pasted.
Other examples will follow.
10 years ago
ocornut
b911f96a56
Examples: Speculative Makefile fix. I should get a Linux box instead on relying on Jenkins, this is pretty embarrassing.
10 years ago
ocornut
dc7cdb3025
Examples: Fix Makefile
10 years ago
ocornut
5aaf0cd2dc
Examples: Fix OpenGL3 example Makefile
10 years ago
ocornut
3ed38f3313
Replaced dependency on glew (inc. prebuilt one for Windows) by gl3w in source form
Expecting something to break now.
10 years ago
ocornut
987188d437
Fix Clang warning with offsetof() macro? Added -Wall in OpenGL 3 example.
10 years ago
Olivier Chatry
a8d2bc69ed
added opengl3 sample, mix from @ocornut and @thelinked
10 years ago
Tomoki SHISHIKURA (RTX-M7)
9bb95db68a
opengl_example makefile cross platform supported.
10 years ago
ocornut
f4ee74b312
Renamed Makefile
10 years ago
Marc Planard
e2655d104e
add a quick and dirty makefile to build on linux
10 years ago