imgui/examples/allegro5_example/README.md

17 lines
384 B
Markdown
Raw Normal View History

# How to Build
- On Ubuntu 14.04+
```bash
2015-08-06 09:19:12 +08:00
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.
```
2015-08-06 09:19:12 +08:00
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
```