diff options
Diffstat (limited to 'CMakePresets.json')
| -rw-r--r-- | CMakePresets.json | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/CMakePresets.json b/CMakePresets.json new file mode 100644 index 0000000..2b3f7b7 --- /dev/null +++ b/CMakePresets.json @@ -0,0 +1,46 @@ +{ + "version": 10, + "cmakeMinimumRequired": { + "major": 4, + "minor": 2, + "patch": 0 + }, + + "configurePresets": [ + { + "name": "default", + "generator": "Ninja Multi-Config", + "binaryDir": "${sourceDir}/build", + "cacheVariables": { + "CMAKE_CONFIGURATION_TYPES": "Debug;MinSizeRel", + "CMAKE_EXPORT_COMPILE_COMMANDS": true, + "CMAKE_VERIFY_INTERFACE_HEADER_SETS": true, + "CMAKE_VERIFY_PRIVATE_HEADER_SETS": true + } + } + ], + "buildPresets": [ + { + "name": "dbg", + "configurePreset": "default", + "configuration": "Debug" + }, + { + "name": "rel", + "configurePreset": "default", + "configuration": "MinSizeRel" + } + ], + "testPresets": [ + { + "name": "dbg", + "configurePreset": "default", + "configuration": "Debug" + }, + { + "name": "rel", + "configurePreset": "default", + "configuration": "Release" + } + ] +} |
