summaryrefslogtreecommitdiffstats
path: root/CMakePresets.json
diff options
context:
space:
mode:
authorJay Kwak <82421531+jkwak-work@users.noreply.github.com>2025-04-24 16:08:53 -0700
committerGitHub <noreply@github.com>2025-04-24 16:08:53 -0700
commitba75ae14e714c8bd7558f625ff45fb9cfc2292b3 (patch)
tree5430d51c812d2f76ee9b0e5f3f46d627272c20b0 /CMakePresets.json
parent5f632cd204b7a85f3a97b6c316c5a34f9fc8193e (diff)
Add MinSizeRel to cmake default preset explicitly (#6872)
Co-authored-by: Yong He <yonghe@outlook.com>
Diffstat (limited to 'CMakePresets.json')
-rw-r--r--CMakePresets.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakePresets.json b/CMakePresets.json
index d2c863986..2632f522c 100644
--- a/CMakePresets.json
+++ b/CMakePresets.json
@@ -13,7 +13,8 @@
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"CMAKE_MSVC_RUNTIME_LIBRARY": "MultiThreaded$<$<CONFIG:Debug>:Debug>",
- "SLANG_ENABLE_IR_BREAK_ALLOC": "$<$<CONFIG:Debug>:TRUE>$<$<NOT:$<CONFIG:Debug>>:FALSE>"
+ "SLANG_ENABLE_IR_BREAK_ALLOC": "$<$<CONFIG:Debug>:TRUE>$<$<NOT:$<CONFIG:Debug>>:FALSE>",
+ "CMAKE_CONFIGURATION_TYPES": "Debug;Release;RelWithDebInfo;MinSizeRel"
}
},
{