-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCMakePresets.json
More file actions
64 lines (64 loc) · 1.53 KB
/
CMakePresets.json
File metadata and controls
64 lines (64 loc) · 1.53 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
{
"version": 2,
"configurePresets": [
{
"name": "base",
"displayName": "Basic config",
"description": "Basic config using Visual Studio 17 2022 generator",
"generator": "Visual Studio 17 2022",
"binaryDir": "${sourceDir}/build/${presetName}",
"architecture": {
"value": "x64",
"strategy": "external"
},
"cacheVariables": {
"CMAKE_INSTALL_PREFIX": "${sourceDir}/build/install/${presetName}",
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/extern/vcpkg/scripts/buildsystems/vcpkg.cmake"
},
"vendor": {
"microsoft.com/VisualStudioSettings/CMake/1.0": {
"hostOS": [ "Windows" ]
}
}
},
{
"name": "x64-debug",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
},
"inherits": [ "base" ]
},
{
"name": "x64-release",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
},
"inherits": [ "base" ]
},
{
"name": "x64-release-installer",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"BUILD_INSTALLER": "ON"
},
"inherits": [ "base" ]
}
],
"buildPresets": [
{
"name": "x64-debug",
"configurePreset": "x64-debug",
"configuration": "Debug"
},
{
"name": "x64-release",
"configurePreset": "x64-release",
"configuration": "Release"
},
{
"name": "x64-release-installer",
"configurePreset": "x64-release-installer",
"configuration": "Release"
}
]
}