Zed环境修正

This commit is contained in:
2025-12-29 21:43:51 +08:00
parent 1cfe12a861
commit 55c4bf6a8f
3 changed files with 6 additions and 36 deletions

View File

@@ -1,13 +1,13 @@
[
{
"label": "CmakeConfig",
"label": "Config",
"command": "cmd",
"env": {
"VS2026ENV": "\"C:\\Program Files\\Microsoft Visual Studio\\18\\Community\\VC\\Auxiliary\\Build\\vcvars64.bat\"",
"BUILDTOOL": "\"C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Auxiliary\\Build\\vcvars64.bat\"",
},
"args": [
"/c",
"$VS2026ENV && cmake -Bbuild -G Ninja -S . -DCOMPILE_GUI=ON -DCMAKE_BUILD_TYPE=Debug",
"\"%BUILDTOOL% && cmake -Bbuild -G Ninja -S . -DCMAKE_PREFIX_PATH=C:\\Kit\\Qt6 -DCMAKE_EXPORT_COMPILE_COMMANDS=ON\"",
],
"cwd": "$ZED_WORKTREE_ROOT",
"use_new_terminal": false,
@@ -15,12 +15,12 @@
"show_summary": true,
},
{
"label": "CmakeBuild",
"label": "Build",
"command": "cmd",
"env": {
"VS2026ENV": "\"C:\\Program Files\\Microsoft Visual Studio\\18\\Community\\VC\\Auxiliary\\Build\\vcvars64.bat\"",
"BUILDTOOL": "\"C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Auxiliary\\Build\\vcvars64.bat\"",
},
"args": ["/c", "$VS2026ENV && cmake --build build --config Debug"],
"args": ["/c", "\"%BUILDTOOL% && cmake --build build --config Debug\""],
"cwd": "$ZED_WORKTREE_ROOT",
"use_new_terminal": false,
"show_command": true,