summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMakePresets/GoodToolchain.json.in
blob: 69dafcf11985287a47961dae4972984b00344562 (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": "GoodToolchainDefault",
            "generator": "@RunCMake_GENERATOR@",
            "binaryDir": "${sourceDir}/build/${presetName}",
            "toolchainFile": "${sourceDir}/toolchain.cmake"
        },
        {
            "name": "GoodToolchainInherit",
            "inherits": "GoodToolchainDefault",
            "cacheVariables": {
                "CMAKE_TOOLCHAIN_FILE": {
                "type": "FILEPATH",
                "value": "${sourceDir}/toolchain_bad.cmake"
                }
            }
        },
        {
            "name": "GoodToolchainOverride",
            "inherits": "GoodToolchainInherit",
            "toolchainFile": "override_toolchain.cmake"
        },
        {
            "name": "GoodToolchainCommandLine",
            "inherits": "GoodToolchainOverride"
        }
    ]
}