summaryrefslogtreecommitdiffstats
path: root/CMakePresets.json
diff options
context:
space:
mode:
Diffstat (limited to 'CMakePresets.json')
-rw-r--r--CMakePresets.json4
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakePresets.json b/CMakePresets.json
index a92440eee..34a1c15df 100644
--- a/CMakePresets.json
+++ b/CMakePresets.json
@@ -22,6 +22,7 @@
"binaryDir": "${sourceDir}/build.em",
"cacheVariables": {
"SLANG_SLANG_LLVM_FLAVOR": "DISABLE",
+ "SLANG_EMBED_CORE_MODULE": "ON",
"CMAKE_C_FLAGS_INIT": "-fwasm-exceptions -Os",
"CMAKE_CXX_FLAGS_INIT": "-fwasm-exceptions -Os",
"CMAKE_EXE_LINKER_FLAGS": "-sASSERTIONS -sALLOW_MEMORY_GROWTH -fwasm-exceptions --export=__cpp_exception"
@@ -71,7 +72,8 @@
"inherits": "default",
"description": "Build the compile time generators used in building Slang",
"cacheVariables": {
- "SLANG_SLANG_LLVM_FLAVOR": "DISABLE"
+ "SLANG_SLANG_LLVM_FLAVOR": "DISABLE",
+ "SLANG_ENABLE_SLANG_RHI": false
}
}
],