vscode-cmake-tools icon indicating copy to clipboard operation
vscode-cmake-tools copied to clipboard

About Working Directory of Target

Open Wakotu opened this issue 3 years ago • 1 comments

When I type Shift + F5, it will start a new terminal with the position of CMAKE_RUNTIME_OUTPUT_DIRECTORY which will also be the cwd of running target. I wonder how can I change the default position of the new terminal to my current vscode workspaceFolder?

Wakotu avatar Jul 19 '22 08:07 Wakotu

This is the expected behavior. You can change the default position, you can use this setting:

"cmake.debugConfig": {
    "cwd": "${workspaceFolder}"
}

elahehrashedi avatar Jul 19 '22 16:07 elahehrashedi

This issue has been closed automatically because it's labeled as a 'question' and has not had recent activity.

github-actions[bot] avatar Sep 18 '22 11:09 github-actions[bot]