summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeGUI/presetArg-presetConfigExists
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CMakeGUI/presetArg-presetConfigExists')
-rw-r--r--Tests/CMakeGUI/presetArg-presetConfigExists/CMakeLists.txt.in2
-rw-r--r--Tests/CMakeGUI/presetArg-presetConfigExists/CMakePresets.json.in33
-rw-r--r--Tests/CMakeGUI/presetArg-presetConfigExists/CMakeSetup.ini.in2
3 files changed, 37 insertions, 0 deletions
diff --git a/Tests/CMakeGUI/presetArg-presetConfigExists/CMakeLists.txt.in b/Tests/CMakeGUI/presetArg-presetConfigExists/CMakeLists.txt.in
new file mode 100644
index 0000000..2ae4a57
--- /dev/null
+++ b/Tests/CMakeGUI/presetArg-presetConfigExists/CMakeLists.txt.in
@@ -0,0 +1,2 @@
+cmake_minimum_required(VERSION 3.18)
+project(sourceBinaryArgs-sourceDir NONE)
diff --git a/Tests/CMakeGUI/presetArg-presetConfigExists/CMakePresets.json.in b/Tests/CMakeGUI/presetArg-presetConfigExists/CMakePresets.json.in
new file mode 100644
index 0000000..d78d69d
--- /dev/null
+++ b/Tests/CMakeGUI/presetArg-presetConfigExists/CMakePresets.json.in
@@ -0,0 +1,33 @@
+{
+ "version": 1,
+ "configurePresets": [
+ {
+ "name": "ninja",
+ "generator": "Ninja",
+ "binaryDir": "${sourceDir}/build",
+ "cacheVariables": {
+ "STRING_VARIABLE": {
+ "type": "STRING",
+ "value": "String value"
+ },
+ "PATH_VARIABLE": {
+ "type": "PATH",
+ "value": "${sourceDir}"
+ },
+ "FILEPATH_VARIABLE": {
+ "type": "FILEPATH",
+ "value": "${sourceDir}/CMakeLists.txt"
+ },
+ "ON_VARIABLE": {
+ "type": "BOOL",
+ "value": "ON"
+ },
+ "FALSE_VARIABLE": {
+ "type": "BOOL",
+ "value": "FALSE"
+ },
+ "UNINITIALIZED_VARIABLE": "Uninitialized value"
+ }
+ }
+ ]
+}
diff --git a/Tests/CMakeGUI/presetArg-presetConfigExists/CMakeSetup.ini.in b/Tests/CMakeGUI/presetArg-presetConfigExists/CMakeSetup.ini.in
new file mode 100644
index 0000000..a5d0c71
--- /dev/null
+++ b/Tests/CMakeGUI/presetArg-presetConfigExists/CMakeSetup.ini.in
@@ -0,0 +1,2 @@
+[Settings]
+StartPath\WhereBuild0=@CMake_BINARY_DIR@