protot/3rdparty/imgui/examples/allegro5_example
Martin Felis 0922f482f8 Ripped away bgfx 2018-02-12 21:35:44 +01:00
..
README.md Ripped away bgfx 2018-02-12 21:35:44 +01:00
imgui_impl_a5.cpp Ripped away bgfx 2018-02-12 21:35:44 +01:00
imgui_impl_a5.h Ripped away bgfx 2018-02-12 21:35:44 +01:00
main.cpp Ripped away bgfx 2018-02-12 21:35:44 +01:00

README.md

How to Build

  • On Ubuntu 14.04+
g++ -I ../.. main.cpp imgui_impl_a5.cpp ../../imgui*.cpp -lallegro -lallegro_primitives -o allegro5_example
  • 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