{
	// See https://go.microsoft.com/fwlink/?LinkId=733558
	// for the documentation about the tasks.json format
	"version": "2.0.0",
	"tasks": [
		{
			"label": "taskBuild", // 任务名称,与launch.json的preLaunchTask相对应
			"type": "shell", // 可以为process或shell
			"command": "cmake --build build", // 要使用的编译器,C语言用clang
			"group": {
				"kind": "build",
				"isDefault": true
			},
			"problemMatcher": ["$clang"],
			"detail": "Generated task by CMake Tools."
		},
		{
			"label": "run",
			"type": "shell",
			"dependsOn": "build",
			"command": "${command:cmake.launchTargetPath}", // 将要进行运行的程序的路径,这里通过cmake-tools插件自动指定
			"group": {
					"kind": "test",
					"isDefault": true
			}
		}
	]
}