I suggest you ...

Add Macro ${buildRoot} to tasks.vs.json

I am using Visual Studio 2017 to build a cross platform project with CMake and the "Open Folder" feature.
This project has dependencies that needs to be installed so I add a task to my tasks.vs.json in order to install them into my CMAKE_BINARY_DIR which corresponds to the macro ${buildRoot} of the file CMakeSettings.json. But the problem is that there is no way of accessing this macro from tasks.vs.json. I have to hardcode the path for every configuration so I need also to create tasks for every configuration. If I had access to ${buildRoot} I only need one task for all configurations.

20 votes
Vote
Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
You have left! (?) (thinking…)
Raul Bocanegra Algara shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

1 comment

Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
Submitting...

Feedback and Knowledge Base