1
0
mirror of https://github.com/ocornut/imgui.git synced 2024-11-28 09:30:56 +01:00
imgui/examples/allegro5_example
2015-11-08 11:00:31 +00:00
..
imgui_impl_a5.cpp Examples: Most examples apps detect if ImDrawIdx was changed to 32-bits instead of 16 2015-11-08 11:00:31 +00:00
imgui_impl_a5.h Examples: Possibly clarified the intent of imgui_impl_* files. 2015-10-13 17:53:43 +02:00
main.cpp Examples: update all examples with same comment (#389) 2015-10-30 10:45:16 +01:00
README.md Fixed documentation 2015-08-05 19:19:12 -06: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

<a5path> is your allegro5 folder.

cl /MD /I <a5path\include> /I ..\imgui main.cpp imgui_impl_a5.cpp ..\imgui\imgui*.cpp /link /LIBPATH:<a5path\lib> allegro-5.0.10-monolith-md.lib user32.lib