CMake/Tests/RunCMake/CMakePresets/EnvCycle.json.in
Kyle Edwards 638557cbfe CMakePresets.json: Properly report macro expansion errors
Make a distinction between strings which simply use the
$vendor{<...>} macro, which is valid but makes it unusable by CMake,
and strings which actually contain invalid macro expansions.

Fixes: #21308
2020-10-21 09:20:52 -04:00

15 lines
264 B
JSON

{
"version": 1,
"configurePresets": [
{
"name": "EnvCycle",
"generator": "@RunCMake_GENERATOR@",
"binaryDir": "${sourceDir}/build",
"environment": {
"ENV_1": "$env{ENV_2}",
"ENV_2": "$env{ENV_1}"
}
}
]
}