aboutsummaryrefslogtreecommitdiff
path: root/CMakePresets.json
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2026-06-17 09:05:21 +0200
committerFelix Morgner <felix.morgner@gmail.com>2026-06-17 09:13:11 +0200
commit9c09097156dc70315364d27e61daef19b2844139 (patch)
tree6829c5a52dde09dab3447f39e9e754c208dbe3f4 /CMakePresets.json
downloadttwhy-9c09097156dc70315364d27e61daef19b2844139.tar.xz
ttwhy-9c09097156dc70315364d27e61daef19b2844139.zip
initial commit
Diffstat (limited to 'CMakePresets.json')
-rw-r--r--CMakePresets.json36
1 files changed, 36 insertions, 0 deletions
diff --git a/CMakePresets.json b/CMakePresets.json
new file mode 100644
index 0000000..cb843be
--- /dev/null
+++ b/CMakePresets.json
@@ -0,0 +1,36 @@
+{
+ "version": 6,
+ "configurePresets": [
+ {
+ "name": "default",
+ "binaryDir": "${sourceDir}/build/${presetName}",
+ "generator": "Ninja Multi-Config",
+ "cacheVariables": {
+ "CMAKE_CONFIGURATION_TYPES": "Debug;MinSizeRel",
+ "CMAKE_EXPORT_COMPILE_COMMANDS": true,
+ "CMAKE_VERIFY_INTERFACE_HEADER_SETS": true
+ },
+ "environment": {
+ "CXX": "clang++"
+ }
+ }
+ ],
+ "buildPresets": [
+ {
+ "name": "debug",
+ "configurePreset": "default",
+ "configuration": "Debug"
+ },
+ {
+ "name": "release",
+ "configurePreset": "default",
+ "configuration": "MinSizeRel"
+ }
+ ],
+ "testPresets": [
+ {
+ "name": "default",
+ "configurePreset": "default"
+ }
+ ]
+} \ No newline at end of file