diff --git a/CMakePresets.json b/CMakePresets.json index 82ebb303c..e3fe64968 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -93,6 +93,24 @@ }, "hidden": true }, + { + "name": "WASM", + "cacheVariables": { + "BUILD_PSFPLAYER": { + "type": "BOOL", + "value": "ON" + }, + "BUILD_TESTS": { + "type": "BOOL", + "value": "OFF" + }, + "USE_QT": { + "type": "BOOL", + "value": "OFF" + } + }, + "hidden": true + }, { "name": "windows-x86_32-vs", "inherits": [ @@ -136,6 +154,13 @@ "IOS", "XCODE" ] + }, + { + "name": "wasm-ninja", + "inherits": [ + "WASM", + "NINJA" + ] } ], "buildPresets": [ @@ -154,6 +179,26 @@ "targets": [ "Play" ] + }, + { + "name": "wasm-ninja-debug", + "configurePreset": "wasm-ninja", + "configuration": "Debug", + "targets": [ + "Play", + "PsfPlayer", + "CodeGenTestSuite" + ] + }, + { + "name": "wasm-ninja-release", + "configurePreset": "wasm-ninja", + "configuration": "Release", + "targets": [ + "Play", + "PsfPlayer", + "CodeGenTestSuite" + ] } ] }