summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMakePresetsBuild/Condition.json.in
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/CMakePresetsBuild/Condition.json.in')
-rw-r--r--Tests/RunCMake/CMakePresetsBuild/Condition.json.in22
1 files changed, 22 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMakePresetsBuild/Condition.json.in b/Tests/RunCMake/CMakePresetsBuild/Condition.json.in
new file mode 100644
index 0000000..aaee96a
--- /dev/null
+++ b/Tests/RunCMake/CMakePresetsBuild/Condition.json.in
@@ -0,0 +1,22 @@
+{
+ "version": 3,
+ "configurePresets": [
+ {
+ "name": "default",
+ "generator": "@RunCMake_GENERATOR@",
+ "binaryDir": "${sourceDir}/build"
+ }
+ ],
+ "buildPresets": [
+ {
+ "name": "enabled",
+ "configurePreset": "default",
+ "condition": true
+ },
+ {
+ "name": "disabled",
+ "configurePreset": "default",
+ "condition": false
+ }
+ ]
+}