summaryrefslogtreecommitdiffstats
path: root/CMakePresets.json
diff options
context:
space:
mode:
Diffstat (limited to 'CMakePresets.json')
-rw-r--r--CMakePresets.json28
1 files changed, 27 insertions, 1 deletions
diff --git a/CMakePresets.json b/CMakePresets.json
index 15bac9f44..b81309af4 100644
--- a/CMakePresets.json
+++ b/CMakePresets.json
@@ -119,7 +119,15 @@
"generators": ["ZIP"],
"variables": {
"CPACK_PACKAGE_FILE_NAME": "slang",
- "CPACK_COMPONENTS_ALL": "Unspecified;metadata;debug-info;slang-llvm"
+ "CPACK_COMPONENTS_ALL": "Unspecified;metadata;slang-llvm"
+ }
+ },
+ {
+ "name": "base-debug-info",
+ "inherits": "base",
+ "variables": {
+ "CPACK_PACKAGE_FILE_NAME": "slang-debug-info",
+ "CPACK_COMPONENTS_ALL": "debug-info"
}
},
{
@@ -141,6 +149,24 @@
"packageDirectory": "dist-debug"
},
{
+ "name": "release-debug-info",
+ "inherits": "base-debug-info",
+ "configurations": ["Release"],
+ "packageDirectory": "dist-release-debug-info"
+ },
+ {
+ "name": "releaseWithDebugInfo-debug-info",
+ "inherits": "base-debug-info",
+ "configurations": ["RelWithDebInfo"],
+ "packageDirectory": "dist-releaseWithDebugInfo-debug-info"
+ },
+ {
+ "name": "debug-debug-info",
+ "inherits": "base-debug-info",
+ "configurations": ["Debug"],
+ "packageDirectory": "dist-debug-debug-info"
+ },
+ {
"name": "generators",
"inherits": "release",
"configurePreset": "generators",