-
-
Notifications
You must be signed in to change notification settings - Fork 134
Expand file tree
/
Copy pathCMakePresets.json
More file actions
34 lines (34 loc) · 960 Bytes
/
CMakePresets.json
File metadata and controls
34 lines (34 loc) · 960 Bytes
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
33
34
{
"version": 3,
"configurePresets": [
{
"name": "vcpkg",
"generator": "Visual Studio 18 2026",
"architecture": "Win32",
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"VCPKG_OVERLAY_TRIPLETS": "${sourceDir}/vcpkg-overlays/triplets",
"VCPKG_TARGET_TRIPLET": "x86-windows-mixed"
}
},
{
"name": "clang",
"inherits": "vcpkg",
"displayName": "clang-cl (experimental, Ninja)",
"generator": "Ninja",
"architecture": {
"value": "Win32",
"strategy": "external"
},
"binaryDir": "${sourceDir}/build-clang",
"cacheVariables": {
"CMAKE_C_COMPILER": "clang-cl",
"CMAKE_CXX_COMPILER": "clang-cl",
"CMAKE_RC_COMPILER": "llvm-rc",
"CMAKE_C_FLAGS_INIT": "-m32",
"CMAKE_CXX_FLAGS_INIT": "-m32"
}
}
]
}