-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathCMakePresets.json
More file actions
84 lines (84 loc) · 2.24 KB
/
CMakePresets.json
File metadata and controls
84 lines (84 loc) · 2.24 KB
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"version": 3,
"configurePresets": [
{
"name": "vcpkg",
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake"
}
},
{
"name": "vcpkg-debug",
"inherits": "vcpkg",
"binaryDir": "${sourceDir}/build-debug",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "vcpkg-release",
"inherits": "vcpkg",
"binaryDir": "${sourceDir}/build-release",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "Windows-Devel",
"inherits": "vcpkg",
"generator": "Visual Studio 17 2022",
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"VCPKG_TARGET_TRIPLET": "x64-windows-static-md"
}
},
{
"name": "strict",
"cacheVariables": {
"CMAKE_COMPILE_WARNING_AS_ERROR": "YES"
}
},
{
"name": "local-cesium-native",
"cacheVariables": {
"VCPKG_MANIFEST_NO_DEFAULT_FEATURES": true,
"VCPKG_MANIFEST_FEATURES": "cesium-native-local"
}
},
{
"name": "linux-clang",
"inherits": "vcpkg",
"cacheVariables": {
"VCPKG_CHAINLOAD_TOOLCHAIN_FILE": "${sourceDir}/CMakeModules/LinuxClangToolchain.cmake",
"VCPKG_TARGET_TRIPLET": "x64-linux-clang",
"VCPKG_HOST_TRIPLET": "x64-linux-clang"
}
},
{
"name": "linux-debinfo",
"inherits": "vcpkg",
"binaryDir": "${sourceDir}/build-debinfo",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"CMAKE_CXX_FLAGS_RELWITHDEBINFO": "-O2 -g -DNDEBUG -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer",
"VCPKG_TARGET_TRIPLET": "x64-linux-relwithdebinfo",
"VCPKG_HOST_TRIPLET": "x64-linux-relwithdebinfo"
}
}
],
"buildPresets": [
{
"name": "Windows-Debug",
"displayName": "Windows Debug",
"configurePreset": "Windows-Devel",
"configuration": "Debug"
},
{
"name": "Windows-Release",
"displayName": "Windows Release",
"configurePreset": "Windows-Devel",
"configuration": "Release"
}
]
}