Gil Reis
il y a 8 mois
committed by
GitHub
Parent
révision
5a254e3d5e
Aucune clé connue n'a été trouvée dans la base pour cette signature
ID de la clé GPG: B5690EEEBB952194
1 fichiers modifiés avec
4 ajouts et
0 suppressions
-
CMakeOptions.txt
|
|
@ -2,6 +2,10 @@ |
|
|
|
include(CMakeDependentOption) |
|
|
|
include(EnumOption) |
|
|
|
|
|
|
|
if(EMSCRIPTEN) |
|
|
|
# When configuring web builds with "emcmake cmake -B build -S .", set PLATFORM to Web by default |
|
|
|
SET(PLATFORM Web CACHE STRING "Platform to build for.") |
|
|
|
endif() |
|
|
|
enum_option(PLATFORM "Desktop;Web;Android;Raspberry Pi;DRM;SDL" "Platform to build for.") |
|
|
|
|
|
|
|
enum_option(OPENGL_VERSION "OFF;4.3;3.3;2.1;1.1;ES 2.0;ES 3.0" "Force a specific OpenGL Version?") |
|
|
|