vscode配置-cartographer
Kong Liangqian Lv6

VScode简单配置

快捷键编译:Ctrl+shift+b

编译配置: tasks.json

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "catkin_make",
"type": "shell",
"command": "catkin_make_isolated --install --use-ninja", // catkin_make
"args": [],
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"reveal": "always"
},
"problemMatcher": "$msCompile"
},
]
}

这里的command就是编译cartographer的命令

Cartographer之CMakeLIsts

读代码,最好从CMakeLists.txt开始

 Comments