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

Fix dependencies and add more Travis configurations #18

Closed Lectem closed 6 years ago

Lectem commented 6 years ago

Amalgamated builds were broken due to missing dependencies, and on OSX it was not using the amalgamated.cpp instead of amalgamated.mm.

BX needs the Foundation framework for NSLog. BGFX needs X11 on linux.

I added OSX to the list of travis configurations, and it is now building amalgamated versions too. Examples are now also built so that we see linker errors, hence the BGFX_INSTALL_EXAMPLES=ON.

Note that this fixes #11

JoshuaBrookover commented 6 years ago

Thanks!