Init cmake

This commit is contained in:
ArchZer0
2026-08-16 18:38:40 +08:00
parent 9a7a6702ae
commit b6833833b0
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}"
}
}
]
}