mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-11 00:04:24 +00:00
Examples: Allegro5: updated build instructions for macOS
This commit is contained in:
parent
73fa6509a5
commit
323412dd23
1 changed files with 4 additions and 2 deletions
|
|
@ -9,12 +9,14 @@ Note that the back-end supports _BOTH_ 16-bit and 32-bit indices, but 32-bit ind
|
||||||
|
|
||||||
# How to Build
|
# How to Build
|
||||||
|
|
||||||
### On Ubuntu 14.04+
|
### On Ubuntu 14.04+ and macOS
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
g++ -DIMGUI_USER_CONFIG=\"examples/example_allegro5/imconfig_allegro5.h\" -I .. -I ../.. main.cpp ../imgui_impl_allegro5.cpp ../../imgui*.cpp -lallegro -lallegro_primitives -o allegro5_example
|
g++ -DIMGUI_USER_CONFIG=\"examples/example_allegro5/imconfig_allegro5.h\" -I .. -I ../.. main.cpp ../imgui_impl_allegro5.cpp ../../imgui*.cpp -lallegro -lallegro_main -lallegro_primitives -o allegro5_example
|
||||||
```
|
```
|
||||||
|
|
||||||
|
On macOS, install Allegro with homebrew: `brew install allegro`.
|
||||||
|
|
||||||
### On Windows with Visual Studio's CLI
|
### On Windows with Visual Studio's CLI
|
||||||
|
|
||||||
You may install Allegro using vcpkg:
|
You may install Allegro using vcpkg:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue