aboutsummaryrefslogtreecommitdiff
path: root/CMakePresets.json
diff options
context:
space:
mode:
Diffstat (limited to 'CMakePresets.json')
-rw-r--r--CMakePresets.json62
1 files changed, 62 insertions, 0 deletions
diff --git a/CMakePresets.json b/CMakePresets.json
new file mode 100644
index 0000000..8a766b8
--- /dev/null
+++ b/CMakePresets.json
@@ -0,0 +1,62 @@
+{
+ "version": 6,
+ "configurePresets": [
+ {
+ "name": "default",
+ "generator": "Ninja Multi-Config",
+ "binaryDir": "${sourceDir}/build",
+ "cacheVariables": {
+ "CMAKE_CONFIGURATION_TYPES": "Debug;MinSizeRel"
+ }
+ },
+ {
+ "inherits": "default",
+ "name": "develop",
+ "cacheVariables": {
+ "CMAKE_EXPORT_COMPILE_COMMANDS": "YES",
+ "CMAKE_INSTALL_PREFIX": "~/.local"
+ }
+ },
+ {
+ "inherits": "default",
+ "name": "ci",
+ "cacheVariables": {
+ "CMAKE_INSTALL_PREFIX": "prefix"
+ }
+ }
+ ],
+ "buildPresets": [
+ {
+ "name": "default",
+ "configurePreset": "default"
+ },
+ {
+ "name": "develop",
+ "configurePreset": "develop",
+ "configuration": "Debug"
+ },
+ {
+ "name": "ci",
+ "configurePreset": "ci"
+ }
+ ],
+ "testPresets": [
+ {
+ "name": "default",
+ "configurePreset": "default",
+ "output": {
+ "outputOnFailure": true
+ }
+ },
+ {
+ "inherits": "default",
+ "name": "develop",
+ "configurePreset": "develop"
+ },
+ {
+ "inherits": "develop",
+ "name": "ci",
+ "configurePreset": "ci"
+ }
+ ]
+}