demotool/imgui/examples/allegro5_example
2017-09-30 10:26:30 +02:00
..
imgui_impl_a5.cpp Init repository 2017-09-30 10:26:30 +02:00
imgui_impl_a5.h Init repository 2017-09-30 10:26:30 +02:00
main.cpp Init repository 2017-09-30 10:26:30 +02:00
README.md Init repository 2017-09-30 10:26:30 +02: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