1
0
mirror of https://github.com/Drezil/imgui.git synced 2024-12-26 01:26:35 +00:00
imgui/examples/allegro5_example
2015-11-29 14:54:05 +00:00
..
imgui_impl_a5.cpp Examples: Not clearing input data/tex data in atlas (will be required for dynamic atlas anyway). Effectively fix resizing in DX examples. 2015-11-29 14:54:05 +00:00
imgui_impl_a5.h Examples: Header comments. 2015-11-29 11:25:15 +00:00
main.cpp Examples: Header comments. 2015-11-29 11:25:15 +00:00
README.md Tweak build batch files and readmes 2015-11-16 22:03:13 +01:00

How to Build

  • On Ubuntu 14.04+
g++ -I ../imgui main.cpp imgui_impl_a5.cpp ../imgui/imgui*.cpp -lallegro -lallegro_primitives
  • On Windows with Visual Studio's CLI
set ALLEGRODIR=path_to_your_allegro5_folder
cl /Zi /MD /I %ALLEGRODIR%\include /I ..\.. main.cpp imgui_impl_a5.cpp ..\..\imgui*.cpp /link /LIBPATH:%ALLEGRODIR%\lib allegro-5.0.10-monolith-md.lib user32.lib