-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakePresets.json
32 lines (32 loc) · 1.27 KB
/
CMakePresets.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
"version": 8,
"configurePresets": [
{
"name": "hello",
"displayName": "Clang 18.1.8 x86_64-w64-windows-gnu (mingw64)",
"description": "使用编译器: C = C:\\msys64\\mingw64\\bin\\clang.exe, CXX = C:\\msys64\\mingw64\\bin\\clang++.exe",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}",
"CMAKE_C_COMPILER": "C:/msys64/mingw64/bin/clang.exe",
"CMAKE_CXX_COMPILER": "C:/msys64/mingw64/bin/clang++.exe",
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_CXX_CLANG_TIDY": "clang-tidy;-checks=-*"
}
},
{
"name": "Clang 18.1.8 x86_64-w64-windows-gnu (clang64)",
"displayName": "Clang 18.1.8 x86_64-w64-windows-gnu (clang64)",
"description": "使用编译器: C = C:\\msys64\\clang64\\bin\\clang.exe, CXX = C:\\msys64\\clang64\\bin\\clang++.exe",
"generator": "Ninja",
"binaryDir": "${sourceDir}/clangout",
"cacheVariables": {
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}",
"CMAKE_C_COMPILER": "C:/msys64/clang64/bin/clang.exe",
"CMAKE_CXX_COMPILER": "C:/msys64/clang64/bin/clang++.exe",
"CMAKE_BUILD_TYPE": "Debug"
}
}
]
}