widberg / bgfx.cmake

https://github.com/bkaradzic/bgfx.cmake. Independently maintained CMake build scripts for bgfx. Released under public domain.
https://github.com/bkaradzic/bgfx.cmake
Creative Commons Zero v1.0 Universal
286 stars 254 forks source link

Add iOS support #40

Closed JonnyPtn closed 5 years ago

JonnyPtn commented 5 years ago

I've been using this a lot in one of my projects (thanks!) and have needed iOS support. With these changes you can build the demos for iOS (simulator or device)

To build just set CMAKE_TOOLCHAIN_FILE to cmake/toolchains/iOS.toolchain.cmake