[cmake] update cmake for PLATFORM_MEMORY (#5749)

* update cmake for PLATFORM_MEMORY

* remove opengl example for memory platform

* update for winmm and cross compile
This commit is contained in:
Thomas Anderson
2026-04-13 11:55:45 -05:00
committed by GitHub
parent 970531d112
commit 034ffda887
3 changed files with 14 additions and 1 deletions

View File

@ -6,7 +6,7 @@ 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;WebRGFW;Android;Raspberry Pi;DRM;SDL;RGFW" "Platform to build for.")
enum_option(PLATFORM "Desktop;Web;WebRGFW;Android;Raspberry Pi;DRM;SDL;RGFW;Memory" "Platform to build for.")
enum_option(OPENGL_VERSION "OFF;4.3;3.3;2.1;1.1;ES 2.0;ES 3.0;Software" "Force a specific OpenGL Version?")