Open j-ulrich opened 3 years ago
Hi there - can anyone tell me how to use this activeConfigCustomVariable in the tasks or launch.json files?
Currently, the only "docs" are at https://github.com/microsoft/vscode-cpptools/pull/5453 . This task is tracking adding better docs.
The
c_cpp_properties.json
file supports acustomConfigurationVariables
property and the plugin provides thecpptools.activeConfigCustomVariable
command to access those custom configuration variables for example from thetasks.json
. This allows a flexible integration of the C/C++ configurations with the VS Code Tasks.However, neither the
customConfigurationVariables
property nor the relatedcpptools.activeConfigCustomVariable
command are documented in the reference https://code.visualstudio.com/docs/cpp/c-cpp-properties-schema-reference.