summaryrefslogtreecommitdiffstats
path: root/Help/manual/presets/example.json
diff options
context:
space:
mode:
Diffstat (limited to 'Help/manual/presets/example.json')
-rw-r--r--Help/manual/presets/example.json45
1 files changed, 45 insertions, 0 deletions
diff --git a/Help/manual/presets/example.json b/Help/manual/presets/example.json
new file mode 100644
index 0000000..d3b6f4a
--- /dev/null
+++ b/Help/manual/presets/example.json
@@ -0,0 +1,45 @@
+{
+ "version": 1,
+ "cmakeMinimumRequired": {
+ "major": 3,
+ "minor": 19,
+ "patch": 0
+ },
+ "configurePresets": [
+ {
+ "name": "default",
+ "displayName": "Default Config",
+ "description": "Default build using Ninja generator",
+ "generator": "Ninja",
+ "binaryDir": "${sourceDir}/build/default",
+ "cacheVariables": {
+ "FIRST_CACHE_VARIABLE": {
+ "type": "BOOL",
+ "value": "OFF"
+ },
+ "SECOND_CACHE_VARIABLE": "ON"
+ },
+ "environment": {
+ "MY_ENVIRONMENT_VARIABLE": "Test",
+ "PATH": "$env{HOME}/ninja/bin:$penv{PATH}"
+ },
+ "vendor": {
+ "example.com/ExampleIDE/1.0": {
+ "autoFormat": true
+ }
+ }
+ },
+ {
+ "name": "ninja-multi",
+ "inherits": "default",
+ "displayName": "Ninja Multi-Config",
+ "description": "Default build using Ninja Multi-Config generator",
+ "generator": "Ninja Multi-Config"
+ }
+ ],
+ "vendor": {
+ "example.com/ExampleIDE/1.0": {
+ "autoFormat": false
+ }
+ }
+}