2015-07-08 20:34:36 +03:00
|
|
|
|
|
|
|
# How to Build
|
|
|
|
|
|
|
|
- On Ubuntu 14.04+
|
|
|
|
|
|
|
|
```bash
|
2018-01-25 15:33:35 +03:00
|
|
|
g++ -I ../.. main.cpp imgui_impl_a5.cpp ../../imgui*.cpp -lallegro -lallegro_primitives -o allegro5_example
|
2015-07-08 20:34:36 +03:00
|
|
|
```
|
|
|
|
|
|
|
|
- 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
|
2015-07-08 20:34:36 +03:00
|
|
|
```
|