Create c_cpp_properties.json

This commit is contained in:
lianghongkey 2020-02-18 20:57:00 +08:00 committed by GitHub
parent 38f1c3d5ed
commit 7a26bb812d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 28 additions and 0 deletions

28
c_cpp_properties.json Normal file
View File

@ -0,0 +1,28 @@
{
"env": {
"myDefaultIncludePath": ["${workspaceFolder}", "${workspaceFolder}/include"]
},
"configurations": [
{
"name": "Linux",
"intelliSenseMode": "clang-x64",
"includePath": [
"${myDefaultIncludePath}",
"${workspaceFolder}/include/**",
"${workspaceFolder}/lib/**",
"${workspaceFolder}/tests/**",
"${workspaceFolder}/third_party/**",
"${workspaceFolder}/tools/**"
],
"defines": [],
"compilerPath": "/usr/bin/clang-3.9",
"compileCommands": "${workspaceFolder}/compile_commands.json",
"browse": {
"path": ["${workspaceFolder}"],
"limitSymbolsToIncludedHeaders": true,
"databaseFilename": ""
}
}
],
"version": 4
}