From 7a26bb812dfff146f59043aa8a60daa989fbdbf1 Mon Sep 17 00:00:00 2001 From: lianghongkey Date: Tue, 18 Feb 2020 20:57:00 +0800 Subject: [PATCH] Create c_cpp_properties.json --- c_cpp_properties.json | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 c_cpp_properties.json diff --git a/c_cpp_properties.json b/c_cpp_properties.json new file mode 100644 index 0000000..c9c8223 --- /dev/null +++ b/c_cpp_properties.json @@ -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 +}