Adding MacOS build instructions to README.md

This commit is contained in:
Dan O'Shea 2014-08-11 17:52:26 -07:00
parent ac7474e36b
commit d7b8d9f6d8

View file

@ -11,6 +11,18 @@ After ImGui is setup in your application, you can use it like in this example:
ImGui outputs vertex buffers and simple command-lists that you can render in your application. Because it doesn't know or touch graphics state directly, you can call ImGui commands anywhere in your code (e.g. in the middle of a running algorithm, or in the middle of your own rendering process). Refer to the sample applications in the examples/ folder for instructions on how to integrate ImGui with your existing codebase.
Building on Mac OS
------------------
Omar Cornut @ocornut wrote this, I (@djoshea) simply added a Makefile and made minor tweaks to build and run successfully on MacOS Mavericks.
You will need to edit paths there once the versions in Homebrew change.
```
brew install glew
brew install glfw3
cd examples/opengl_example/
make
```
Gallery
-------