aboutsummaryrefslogtreecommitdiff
path: root/CMakePresets.json
diff options
context:
space:
mode:
Diffstat (limited to 'CMakePresets.json')
-rw-r--r--CMakePresets.json26
1 files changed, 26 insertions, 0 deletions
diff --git a/CMakePresets.json b/CMakePresets.json
new file mode 100644
index 0000000..ecac6fb
--- /dev/null
+++ b/CMakePresets.json
@@ -0,0 +1,26 @@
+{
+ "version": 6,
+ "configurePresets": [
+ {
+ "name": "default",
+ "binaryDir": "${sourceDir}/build",
+ "generator": "Ninja Multi-Config",
+ "cacheVariables": {
+ "CMAKE_CONFIGURATION_TYPES": "Debug;MinSizeRel",
+ "CMAKE_TOOLCHAIN_FILE": "cmake/Platforms/x86_64.cmake"
+ }
+ }
+ ],
+ "buildPresets": [
+ {
+ "name": "debug",
+ "configurePreset": "default",
+ "configuration": "Debug"
+ },
+ {
+ "name": "release",
+ "configurePreset": "default",
+ "configuration": "MinSizeRel"
+ }
+ ]
+}