ソースを参照

Set PLATFORM to Web by default when configuring web builds with emcmake (#4748)

pull/4754/head
Gil Reis 8ヶ月前
committed by GitHub
コミット
5a254e3d5e
この署名に対応する既知のキーがデータベースに存在しません GPGキーID: B5690EEEBB952194
1個のファイルの変更4行の追加0行の削除
  1. +4
    -0
      CMakeOptions.txt

+ 4
- 0
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?")

読み込み中…
キャンセル
保存