File tree Expand file tree Collapse file tree 1 file changed +38
-16
lines changed Expand file tree Collapse file tree 1 file changed +38
-16
lines changed Original file line number Diff line number Diff line change 4
4
"version" : " 2.0.0" ,
5
5
"tasks" : [
6
6
{
7
- "label" : " compile" ,
8
- "type" : " npm" ,
9
- "script" : " compile" ,
10
- "problemMatcher" : " $tsc" ,
11
- "group" : {
12
- "kind" : " build" ,
13
- "isDefault" : true
14
- }
15
- },
16
- {
17
- "label" : " watch" ,
18
- "type" : " npm" ,
19
- "script" : " watch" ,
7
+ "label" : " build" ,
8
+ "type" : " shell" ,
20
9
"group" : {
21
10
"kind" : " build" ,
22
11
"isDefault" : true
23
12
},
24
- "isBackground" : true ,
25
- "problemMatcher" : " $tsc-watch" ,
13
+ "presentation" : {
14
+ "echo" : true ,
15
+ "reveal" : " always" ,
16
+ "focus" : false ,
17
+ "panel" : " shared"
18
+ },
19
+ "windows" : {
20
+ "command" : " ${workspaceRoot}/build.cmd" ,
21
+ "args" : [
22
+ " <Path/To/MinGW/Cygwin/Bin/Folder>" , // Path to the bin folder containing g++ to compile
23
+ " fib.exe" // Output executable name
24
+ ]
25
+ },
26
+ "linux" : {
27
+ "command" : " g++" ,
28
+ "args" : [
29
+ " -g" ,
30
+ " *.cpp" ,
31
+ " -lpthread" ,
32
+ " --std=c++11" ,
33
+ " -o" ,
34
+ " fib.out"
35
+ ]
36
+ },
37
+ "osx" : {
38
+ "command" : " g++" ,
39
+ "args" : [
40
+ " -g" ,
41
+ " *.cpp" ,
42
+ " -lpthread" ,
43
+ " --std=c++11" ,
44
+ " -o" ,
45
+ " fib.out"
46
+ ]
47
+ }
26
48
}
27
49
]
28
- }
50
+ }
You can’t perform that action at this time.
0 commit comments