imgui/examples/allegro5_example/README.md

16 lines
397 B
Markdown
Raw Normal View History

# How to Build
- On Ubuntu 14.04+
```bash
2015-08-06 04:19:12 +03:00
g++ -I ../imgui main.cpp imgui_impl_a5.cpp ../imgui/imgui*.cpp -lallegro -lallegro_primitives
```
- On Windows with Visual Studio's CLI
```
2015-11-17 00:03:13 +03:00
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
```