This commit is contained in:
51
.zed/tasks.json
Normal file
51
.zed/tasks.json
Normal file
@@ -0,0 +1,51 @@
|
||||
// Project tasks configuration. See https://zed.dev/docs/tasks for documentation.
|
||||
[
|
||||
{
|
||||
"label": "Setup debug build directory",
|
||||
"command": "cmake -S ${ZED_WORKTREE_ROOT} -B ${ZED_WORKTREE_ROOT}/cmake-build-debug -DCMAKE_BUILD_TYPE=Debug",
|
||||
"reveal": "no_focus",
|
||||
"hide": "on_success"
|
||||
},
|
||||
{
|
||||
"label": "Setup release build directory",
|
||||
"command": "cmake -S ${ZED_WORKTREE_ROOT} -B ${ZED_WORKTREE_ROOT}/cmake-build-release -DCMAKE_BUILD_TYPE=Release",
|
||||
"reveal": "no_focus",
|
||||
"hide": "on_success"
|
||||
},
|
||||
{
|
||||
"label": "Setup tests debug build directory",
|
||||
"command": "cmake -S ${ZED_WORKTREE_ROOT} -B ${ZED_WORKTREE_ROOT}/tests/cmake-build-debug -DCMAKE_BUILD_TYPE=Debug",
|
||||
"reveal": "no_focus",
|
||||
"hide": "on_success"
|
||||
},
|
||||
{
|
||||
"label": "Setup tests release build directory",
|
||||
"command": "cmake -S ${ZED_WORKTREE_ROOT} -B ${ZED_WORKTREE_ROOT}/tests/cmake-build-release -DCMAKE_BUILD_TYPE=Release",
|
||||
"reveal": "no_focus",
|
||||
"hide": "on_success"
|
||||
},
|
||||
{
|
||||
"label": "Clean debug build directory",
|
||||
"command": "cmake --build ${ZED_WORKTREE_ROOT}/cmake-build-debug --target clean",
|
||||
"reveal": "no_focus",
|
||||
"hide": "on_success"
|
||||
},
|
||||
{
|
||||
"label": "Clean release build directory",
|
||||
"command": "cmake --build ${ZED_WORKTREE_ROOT}/cmake-build-release --target clean",
|
||||
"reveal": "no_focus",
|
||||
"hide": "on_success"
|
||||
},
|
||||
{
|
||||
"label": "Clean tests debug build directory",
|
||||
"command": "cmake --build ${ZED_WORKTREE_ROOT}/tests/cmake-build-debug --target clean",
|
||||
"reveal": "no_focus",
|
||||
"hide": "on_success"
|
||||
},
|
||||
{
|
||||
"label": "Clean tests release build directory",
|
||||
"command": "cmake --build ${ZED_WORKTREE_ROOT}/tests/cmake-build-release --target clean",
|
||||
"reveal": "no_focus",
|
||||
"hide": "on_success"
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user