Env:zed配置添加。
This commit is contained in:
29
.zed/tasks.json
Normal file
29
.zed/tasks.json
Normal file
@@ -0,0 +1,29 @@
|
||||
[
|
||||
{
|
||||
"label": "CmakeConfig",
|
||||
"command": "cmd",
|
||||
"env": {
|
||||
"VS2026ENV": "\"C:\\Program Files\\Microsoft Visual Studio\\18\\Community\\VC\\Auxiliary\\Build\\vcvars64.bat\"",
|
||||
},
|
||||
"args": [
|
||||
"/c",
|
||||
"$VS2026ENV && cmake -Bbuild -G Ninja -S . -DCOMPILE_GUI=ON -DCMAKE_BUILD_TYPE=Debug",
|
||||
],
|
||||
"cwd": "$ZED_WORKTREE_ROOT",
|
||||
"use_new_terminal": false,
|
||||
"show_command": true,
|
||||
"show_summary": true,
|
||||
},
|
||||
{
|
||||
"label": "CmakeBuild",
|
||||
"command": "cmd",
|
||||
"env": {
|
||||
"VS2026ENV": "\"C:\\Program Files\\Microsoft Visual Studio\\18\\Community\\VC\\Auxiliary\\Build\\vcvars64.bat\"",
|
||||
},
|
||||
"args": ["/c", "$VS2026ENV && cmake --build build --config Debug"],
|
||||
"cwd": "$ZED_WORKTREE_ROOT",
|
||||
"use_new_terminal": false,
|
||||
"show_command": true,
|
||||
"show_summary": true,
|
||||
},
|
||||
]
|
||||
Reference in New Issue
Block a user