File tree Expand file tree Collapse file tree 1 file changed +14
-22
lines changed Expand file tree Collapse file tree 1 file changed +14
-22
lines changed Original file line number Diff line number Diff line change 11{
2- // See https://go.microsoft.com/fwlink/?LinkId=733558
2+ // See https://go.microsoft.com/fwlink/?LinkId=733558
33 // for the documentation about the tasks.json format
44 "version" : " 2.0.0" ,
55 "tasks" : [
2020 {
2121 "label" : " build (Windows)" ,
2222 "type" : " shell" ,
23- "command" : " g++ -std=c++11 -pthread -o fib.exe main.cpp thread.cpp " ,
23+ "command" : " build.cmd " ,
2424 "group" : " build" ,
25- "problemMatcher" : [" $gcc " ],
25+ "problemMatcher" : [" $msCompile " ],
2626 "options" : {
27- "cwd" : " ${workspaceFolder}"
28- },
29- "detail" : " Build using g++ (Windows/MinGW)" ,
30- "windows" : {
31- "options" : {
32- "shell" : {
33- "executable" : " cmd.exe" ,
34- "args" : [" /C" ]
35- }
27+ "cwd" : " ${workspaceFolder}" ,
28+ "shell" : {
29+ "executable" : " cmd.exe" ,
30+ "args" : [" /C" ]
3631 }
37- }
32+ },
33+ "detail" : " Build using build.cmd for Windows (ensures g++ environment is set up)"
3834 },
3935 {
4036 "label" : " clean (Unix)" ,
4945 "type" : " shell" ,
5046 "command" : " del /Q fib.exe" ,
5147 "options" : {
52- "cwd" : " ${workspaceFolder}"
53- },
54- "windows" : {
55- "options" : {
56- "shell" : {
57- "executable" : " cmd.exe" ,
58- "args" : [" /C" ]
59- }
48+ "cwd" : " ${workspaceFolder}" ,
49+ "shell" : {
50+ "executable" : " cmd.exe" ,
51+ "args" : [" /C" ]
6052 }
6153 }
6254 }
6355 ]
64- }
56+ }
You can’t perform that action at this time.
0 commit comments