Allegro5 example: added example from https://github.com/bggd/a5imgui_example

This commit is contained in:
ocornut
2015-07-08 11:34:36 -06:00
parent e49977a913
commit 19e3c1506f
4 changed files with 342 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
# How to Build
- On Ubuntu 14.04+
```bash
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
```
public domain