I don’t understand how this is NOT a thing already. Consider the following use case. I don’t want to set the build dir by the preset, that will be set by where ever the user wants, but I want the preset to add the following variable that is relative to the chosen build dir e.g.:
“CMAKE_PREFIX_PATH”: “${buildDir}/conan”
So I can seamlessly use the find dependency provider for conan 1 in this case if the user chooses said preset. I also like using the out-of-source builds, which means that the build dir is not relative to ${sourceDir} thus I need a ${buildDir}.