From 5a42c2c687b11e5e05001732c8686f76c34cb4ad Mon Sep 17 00:00:00 2001 From: taynpg Date: Mon, 21 Oct 2024 08:41:27 +0800 Subject: [PATCH] =?UTF-8?q?change=EF=BC=9A=E9=BB=98=E8=AE=A4=E4=B8=8D?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0vcpkg=E8=B7=AF=E5=BE=84=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/settings.json | 6 ++---- template/.vscode/settings.json | 7 ++++--- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 16b39fa..7b9c336 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -19,9 +19,6 @@ "args": [ ] }, - "cmake.configureSettings": { - "CMAKE_TOOLCHAIN_FILE": "${env:VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake" - }, "cmake.options.statusBarVisibility": "visible", "cmake.generator": "Ninja", "C_Cpp.default.compileCommands": "${workspaceRoot}/build/compile_commands.json", @@ -31,5 +28,6 @@ "ja": true, "zh-hant": true, "zh-hans": true - } + }, + "C_Cpp.default.configurationProvider": "ms-vscode.cmake-tools" } \ No newline at end of file diff --git a/template/.vscode/settings.json b/template/.vscode/settings.json index 16b39fa..979199a 100644 --- a/template/.vscode/settings.json +++ b/template/.vscode/settings.json @@ -19,13 +19,14 @@ "args": [ ] }, - "cmake.configureSettings": { - "CMAKE_TOOLCHAIN_FILE": "${env:VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake" - }, + // "cmake.configureSettings": { + // "CMAKE_TOOLCHAIN_FILE": "${env:VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake" + // }, "cmake.options.statusBarVisibility": "visible", "cmake.generator": "Ninja", "C_Cpp.default.compileCommands": "${workspaceRoot}/build/compile_commands.json", "C_Cpp.default.cppStandard": "c++17", + "C_Cpp.default.configurationProvider": "ms-vscode.cmake-tools", "editor.inlayHints.enabled": "off", "editor.unicodeHighlight.allowedLocales": { "ja": true,