{ "version": "2.0.0", "tasks": [ //Build Linux { "label": "make_linux", "type": "shell", "command": "cmake", "args": [ "--build", "${workspaceFolder}/build", "--target", "all" ], "group": { "kind": "build", "isDefault": true }, "problemMatcher": [] }, { "label": "build_debug_linux_cmake", "type": "shell", "command": "cmake", "args": [ "-S", "${workspaceFolder}/.", "-B", "${workspaceFolder}/./build", "-DDEBUG=ON", "-G Ninja", "-DCMAKE_C_COMPILER=clang", "-DCMAKE_CXX_COMPILER=clang++", "-DCMAKE_LINKER=lld-link", "-DCMAKE_BUILD_TYPE=Debug" ], "group": { "kind": "build", "isDefault": true }, "problemMatcher": [] }, { "label": "build_release_linux_cmake", "type": "shell", "command": "cmake", "args": [ "-S", "${workspaceFolder}/.", "-B", "${workspaceFolder}/./build", "-DDEBUG=OFF", "-G Ninja", "-DCMAKE_C_COMPILER=clang", "-DCMAKE_CXX_COMPILER=clang++", "-DCMAKE_LINKER=lld-link", "-DCMAKE_BUILD_TYPE=Release" ], "group": { "kind": "build", "isDefault": true }, "problemMatcher": [] }, { "label": "build_debug_linux", "dependsOn": [ "build_debug_linux_cmake", "make_linux" ], "dependsOrder": "sequence", "problemMatcher": [], "group": { "kind": "build", "isDefault": true } }, { "label": "build_release_linux", "dependsOn": [ "build_release_linux_cmake", "make_linux" ], "dependsOrder": "sequence", "problemMatcher": [], "group": { "kind": "build", "isDefault": true } } ] }