解决VSCode的CMake项目找不到头文件的问题
首选,需要安装 cmake-tool 插件。
其次,需要在 c_cpp_properties.json 中加入以下配置:
{
"configurations": [
{
"compileCommands": "${workspaceFolder}/build/compile_commands.json",
"configurationProvider": "ms-vscode.cmake-tools"
}
],
"version": 4
}
又一个WordPress站点
首选,需要安装 cmake-tool 插件。
其次,需要在 c_cpp_properties.json 中加入以下配置:
{
"configurations": [
{
"compileCommands": "${workspaceFolder}/build/compile_commands.json",
"configurationProvider": "ms-vscode.cmake-tools"
}
],
"version": 4
}