VS Code CMake tool 配置
在.vscode/setting.json中:
{
"cmake.sourceDirectory": "${workspaceFolder}/Homeworks/0_cpp_warmup/project",
"cmake.buildDirectory": "${workspaceFolder}/Homeworks/0_cpp_warmup/project/build",
}
更多参数参考官方文档:https://github.com/microsoft/vscode-cmake-tools/blob/0378fdc4a409c63cfb92824f39fe3c23c9d5e0d0/docs/cmake-settings.md#configure-cmake-tools-settings