go2sh / cmake-integration-vscode

CMake Server Interface for VSCode.
https://go2sh.github.io/cmake-integration-vscode/
Other
19 stars 11 forks source link

Variable substitution does not work in all cases in cmake_configurations #35

Closed hriekehof closed 5 years ago

hriekehof commented 5 years ago

I tried using variable substitution of environment variables in the cmake_configurations.json For the buildDirectory i can use something like

cmake.buildDirectory:${env:BUILD_PATH}/project/${buildType}

But when i want to use an environment variable for the toolchain variable to specify a toolchain file it seems not to work. Would be great to use environment variables also for the toolchain file

go2sh commented 5 years ago

Added. :)