-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakePresets.json
56 lines (56 loc) · 1.58 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"version": 2,
"configurePresets": [
{
"name": "vcpkg",
"binaryDir": "${sourceDir}/build",
"hidden": true,
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"BUILD_SHARED_LIBS": "OFF"
}
},
{
"name": "x64-windows",
"inherits": "vcpkg",
"generator": "Visual Studio 17 2022",
"architecture": "x64",
"cacheVariables": {
"VCPKG_TARGET_TRIPLET": "x64-windows-static"
}
},
{
"name": "x86-windows",
"inherits": "vcpkg",
"generator": "Visual Studio 17 2022",
"architecture": "Win32",
"cacheVariables": {
"VCPKG_TARGET_TRIPLET": "x86-windows-static"
}
},
{
"name": "x64-linux",
"inherits": "vcpkg",
"generator": "Ninja"
},
{
"name": "x86-linux",
"inherits": "vcpkg",
"generator": "Ninja",
"cacheVariables": {
"CMAKE_CXX_FLAGS": "-m32",
"CMAKE_C_FLAGS": "-m32",
"VCPKG_TARGET_TRIPLET": "x86-linux"
}
},
{
"name": "x64-macos",
"inherits": "vcpkg",
"generator": "Ninja",
"cacheVariables": {
"VCPKG_TARGET_TRIPLET": "x64-osx",
"CMAKE_OSX_ARCHITECTURES": "x86_64"
}
}
]
}