summaryrefslogtreecommitdiffstats
path: root/CMakeUserPresets.json.example
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeUserPresets.json.example')
-rw-r--r--CMakeUserPresets.json.example62
1 files changed, 62 insertions, 0 deletions
diff --git a/CMakeUserPresets.json.example b/CMakeUserPresets.json.example
new file mode 100644
index 0000000..64a7918
--- /dev/null
+++ b/CMakeUserPresets.json.example
@@ -0,0 +1,62 @@
+{
+ "version": 2,
+ "cmakeMinimumRequired": {
+ "major": 3,
+ "minor": 14,
+ "patch": 0
+ },
+ "configurePresets": [
+ {
+ "name": "dev-common",
+ "hidden": true,
+ "inherits": ["conan"],
+ "cacheVariables": {
+ "BUILD_MCSS_DOCS": "ON"
+ }
+ },
+ {
+ "name": "dev-unix",
+ "binaryDir": "${sourceDir}/build/dev-unix",
+ "inherits": ["dev-common", "ci-unix", "dev-mode"],
+ "cacheVariables": {
+ "CMAKE_BUILD_TYPE": "Debug"
+ }
+ },
+ {
+ "name": "dev-win64",
+ "binaryDir": "${sourceDir}/build/dev-win64",
+ "inherits": ["dev-common", "ci-win64"]
+ },
+ {
+ "name": "dev",
+ "binaryDir": "${sourceDir}/build/dev",
+ "inherits": "dev-unix"
+ },
+ {
+ "name": "dev-coverage",
+ "binaryDir": "${sourceDir}/build/coverage",
+ "inherits": ["dev-mode", "coverage-unix", "conan"]
+ }
+ ],
+ "buildPresets": [
+ {
+ "name": "dev",
+ "configurePreset": "dev",
+ "configuration": "Debug",
+ "jobs": 4
+ }
+ ],
+ "testPresets": [
+ {
+ "name": "dev",
+ "configurePreset": "dev",
+ "configuration": "Debug",
+ "output": {
+ "outputOnFailure": true
+ },
+ "execution": {
+ "jobs": 4
+ }
+ }
+ ]
+}