{ " Version " : " 2.0.0 " , " Options " : { " CWD " : " $ {} workspaceRoot / Build " }, //////////////////// //////////////////////////// / specified command execution path where the " Tasks " : [ { "label": "cmake", "type": "shell", "command": "cmake", "args": [ "-G", "MinGW Makefiles", ".." ], }, { "label": "make",/////////要执行的第二个make命令 "type": "shell", "command": "mingw32-make", "args": [], "group": { "kind": "build", "isDefault": true }, " The dependsOn " : [ " CMake " ], /// specified before executing make, must first perform CMake }, ] }
Performed first and then execute make cmake