summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMakePresets/GoodInstall.json.in
blob: 6287c65809dd9f9c4d03a3fa5f5c58282491186a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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"
        }
    ]
}