diff options
| author | Yong He <yonghe@outlook.com> | 2024-11-15 00:37:58 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-15 00:37:58 -0800 |
| commit | 05903f708856a70d68bf41bbfb2b06620508dee0 (patch) | |
| tree | 7255325656c16f02652c83f2c4111b29ba503913 /CMakePresets.json | |
| parent | f0bc4642a563e2318634b38a5a7ac2c3ddd68917 (diff) | |
Embed core module in wasm build. (#5569)
* Embed core module in wasm build.
* format code
* add uintptr_t case.
---------
Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com>
Diffstat (limited to 'CMakePresets.json')
| -rw-r--r-- | CMakePresets.json | 4 |
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 } } ], |
