Skip to content

Commit f59a116

Browse files
committed
add: 配置
1 parent 4b393b6 commit f59a116

3 files changed

Lines changed: 54 additions & 0 deletions

File tree

‎.vscode/c_cpp_properties.json‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"configurations": [
3+
{
4+
"name": "Linux",
5+
"includePath": [
6+
"${workspaceFolder}/**",
7+
"/usr/include/pcl-1.8",
8+
"/usr/include",
9+
"/usr/local/include",
10+
"/opt/ros/melodic/include"
11+
],
12+
"defines": [],
13+
"compilerPath": "/usr/bin/gcc",
14+
"cStandard": "gnu11",
15+
"cppStandard": "gnu++14",
16+
"intelliSenseMode": "gcc-x64"
17+
}
18+
],
19+
"version": 4
20+
}

‎.vscode/settings.json‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"cmake.configureOnOpen": true,
3+
"files.associations": {
4+
"random": "cpp",
5+
"ostream": "cpp"
6+
}
7+
}

‎.vscode/tasks.json‎

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"type": "cppbuild",
6+
"label": "C/C++: cpp build active file",
7+
"command": "/usr/bin/cpp",
8+
"args": [
9+
"-g",
10+
"${file}",
11+
"-o",
12+
"${fileDirname}/${fileBasenameNoExtension}"
13+
],
14+
"options": {
15+
"cwd": "/usr/bin"
16+
},
17+
"problemMatcher": [
18+
"$gcc"
19+
],
20+
"group": {
21+
"kind": "test",
22+
"isDefault": true
23+
},
24+
"detail": "compiler: /usr/bin/cpp"
25+
}
26+
]
27+
}

0 commit comments

Comments
 (0)