S
S
sv112020-08-03 13:16:18
CMake
sv11, 2020-08-03 13:16:18

How to change the working directory to run and debug a CMake project in Visual Studio?

Good day!
How to change the working directory for launching and debugging a CMake project (when we launch it with Ctrl+F5 and F5) from where the build is made to any other? For native Visual Studio projects, everything seems to be clear, but for CMake it is not clear - I tried to add the "workingDirectory" field to the configurations of the launch.vs.json file, but nothing has changed.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question