summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMakePresets/GoodInstall.json.in
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2021-05-24 17:57:40 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2021-05-24 17:57:40 (GMT)
commitbf75369ed40f0adfe687396573b804ae6209161d (patch)
treed0641606013b83fcf56438b7d5fe44bd6c8ca4f7 /Tests/RunCMake/CMakePresets/GoodInstall.json.in
parent38f2562d5b159cdf7ce4340911c1adb30b3a003e (diff)
parentc3b9d9b756c84961208ad3086f5f123828fc5400 (diff)
downloadCMake-bf75369ed40f0adfe687396573b804ae6209161d.zip
CMake-bf75369ed40f0adfe687396573b804ae6209161d.tar.gz
CMake-bf75369ed40f0adfe687396573b804ae6209161d.tar.bz2
Merge branch 'master' into cmp0082-exclude-from-all
Diffstat (limited to 'Tests/RunCMake/CMakePresets/GoodInstall.json.in')
-rw-r--r--Tests/RunCMake/CMakePresets/GoodInstall.json.in30
1 files changed, 30 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMakePresets/GoodInstall.json.in b/Tests/RunCMake/CMakePresets/GoodInstall.json.in
new file mode 100644
index 0000000..6287c65
--- /dev/null
+++ b/Tests/RunCMake/CMakePresets/GoodInstall.json.in
@@ -0,0 +1,30 @@
+{
+ "version": 3,
+ "configurePresets": [
+ {
+ "name": "GoodInstallDefault",
+ "generator": "@RunCMake_GENERATOR@",
+ "binaryDir": "${sourceDir}/build/${presetName}",
+ "installDir": "${sourceDir}/build/install_dir1"
+ },
+ {
+ "name": "GoodInstallInherit",
+ "inherits": "GoodInstallDefault",
+ "cacheVariables": {
+ "CMAKE_INSTALL_PREFIX": {
+ "type": "PATH",
+ "value": "${sourceDir}/build/bad_path"
+ }
+ }
+ },
+ {
+ "name": "GoodInstallOverride",
+ "inherits": "GoodInstallInherit",
+ "installDir": "${sourceDir}/build/install_dir2"
+ },
+ {
+ "name": "GoodInstallCommandLine",
+ "inherits": "GoodInstallOverride"
+ }
+ ]
+}