1+ {
2+ "version" : " 2.0.0" ,
3+ "tasks" : [
4+ {
5+ "type" : " cppbuild" ,
6+ "label" : " Build project" ,
7+ "command" : " cmake" ,
8+ "args" : [" --build" , " ${command:cmake.buildDirectory}" , " -j" , " 8" ],
9+ "options" : {
10+ "cwd" : " ${workspaceFolder}"
11+ },
12+ "problemMatcher" : [" $gcc" ],
13+ "group" : {
14+ "kind" : " build" ,
15+ "isDefault" : true
16+ }
17+ },
18+ {
19+ "type" : " shell" ,
20+ "label" : " Re-build project" ,
21+ "command" : " cmake" ,
22+ "args" : [" --build" , " ${command:cmake.buildDirectory}" , " --clean-first" , " -v" , " -j" , " 8" ],
23+ "options" : {
24+ "cwd" : " ${workspaceFolder}"
25+ },
26+ "problemMatcher" : [" $gcc" ],
27+ },
28+ {
29+ "type" : " shell" ,
30+ "label" : " Clean project" ,
31+ "command" : " cmake" ,
32+ "args" : [" --build" , " ${command:cmake.buildDirectory}" , " --target" , " clean" ],
33+ "options" : {
34+ "cwd" : " ${workspaceFolder}"
35+ },
36+ "problemMatcher" : []
37+ },
38+ {
39+ "type" : " shell" ,
40+ "label" : " Run application" ,
41+ "command" : " ${command:cmake.launchTargetPath}" ,
42+ "args" : [],
43+ "problemMatcher" : [],
44+ },
45+ {
46+ "label" : " Docs: Install python plugins from requirements.txt file" ,
47+ "type" : " shell" ,
48+ "command" : " python -m pip install -r requirements.txt" ,
49+ "options" : {
50+ "cwd" : " ${workspaceFolder}/docs"
51+ },
52+ "problemMatcher" : []
53+ },
54+ {
55+ "label" : " Docs: Generate html" ,
56+ "type" : " shell" ,
57+ "command" : " .\\ make html" ,
58+ "options" : {
59+ "cwd" : " ${workspaceFolder}/docs"
60+ },
61+ "problemMatcher" : []
62+ },
63+ {
64+ "label" : " Docs: Clean build directory" ,
65+ "type" : " shell" ,
66+ "command" : " .\\ make clean" ,
67+ "options" : {
68+ "cwd" : " ${workspaceFolder}/docs"
69+ },
70+ "problemMatcher" : []
71+ },
72+ ]
73+ }
0 commit comments