Answer the question
In order to leave comments, you need to log in
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 questionAsk a Question
731 491 924 answers to any question