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

Possibility to build with "--with-sdl" #12

Closed ruifig closed 6 years ago

ruifig commented 7 years ago

I don't think it is possibly at the moment to set anything equivalent to bgfx's "--with-sdl" build parameter.

JoshuaBrookover commented 7 years ago

Yeah, that's missing. I will need to investigate a bit further into what that flag does exactly.

Also missing:

--with-glfw
--with-profiler
--with-scintilla
--with-shared-lib
leokolln commented 6 years ago

I've added the options to examples.cmake with pull request #25

Please notice that I only tested it on Linux. SDL on OS X may require further changes, see CMake FindSDL documentation.

JoshuaBrookover commented 6 years ago

Closing, see PR #25 Cheers @leokolln

jaccen commented 5 years ago

when can use on android ?

JoshuaBrookover commented 5 years ago

I don't know much about Android development, so, hard to say.