This commit is contained in:
ArchZer0
2026-08-16 20:22:18 +08:00
parent d9d392e0a1
commit 1257e5cbdf
4 changed files with 33 additions and 1 deletions
+17
View File
@@ -0,0 +1,17 @@
{
"version": 8,
"configurePresets": [
{
"name": "Clang",
"displayName": "使用工具链文件配置预设",
"description": "设置 Ninja 生成器、版本和安装目录",
"generator": "Ninja",
"binaryDir": "${sourceDir}/out/build/${presetName}",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_TOOLCHAIN_FILE": "",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}"
}
}
]
}