-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakePresets.json
More file actions
121 lines (121 loc) · 3.25 KB
/
CMakePresets.json
File metadata and controls
121 lines (121 loc) · 3.25 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{
"version": 6,
"cmakeMinimumRequired": {
"major": 3,
"minor": 25,
"patch": 0
},
"configurePresets": [
{
"name": "default",
"hidden": true,
"binaryDir": "${sourceDir}/builds/${presetName}",
"installDir": "${sourceDir}/installs/${presetName}",
"cacheVariables": {
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"CMAKE_RUNTIME_OUTPUT_DIRECTORY": "${sourceDir}/builds/${presetName}/bin",
"CMAKE_LIBRARY_OUTPUT_DIRECTORY": "${sourceDir}/builds/${presetName}/lib",
"CMAKE_ARCHIVE_OUTPUT_DIRECTORY": "${sourceDir}/builds/${presetName}/lib",
"VCPKG_DEFAULT_BINARY_CACHE": "${sourceDir}/vcpkg_cache"
}
},
{
"name": "msvc",
"hidden": true,
"generator": "Visual Studio 17 2022",
"architecture": "x64",
"toolchainFile": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"cacheVariables": {
"VCPKG_TARGET_TRIPLET": "x64-windows"
}
},
{
"name": "debug",
"hidden": true,
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "release",
"hidden": true,
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "tests",
"hidden": true,
"cacheVariables": {
"ECHO_BUILD_TESTS": "ON"
}
},
{
"name": "install",
"hidden": true,
"cacheVariables": {
"ECHO_INSTALL": "ON"
}
},
{
"name": "msvc-debug",
"hidden": false,
"inherits": [
"default",
"msvc",
"debug"
]
},
{
"name": "msvc-release",
"hidden": false,
"inherits": [
"default",
"msvc",
"release"
]
},
{
"name": "msvc-debug-with-tests",
"hidden": false,
"inherits": [
"default",
"msvc",
"debug",
"tests"
]
},
{
"name": "msvc-release-with-install",
"hidden": false,
"inherits": [
"default",
"msvc",
"release",
"install"
]
}
],
"buildPresets": [
{
"name": "msvc-debug",
"configurePreset": "msvc-debug",
"configuration": "Debug"
},
{
"name": "msvc-release",
"configurePreset": "msvc-release",
"configuration": "Release"
},
{
"name": "msvc-debug-with-tests",
"configurePreset": "msvc-debug-with-tests",
"configuration": "Debug"
},
{
"name": "msvc-release-with-install",
"configurePreset": "msvc-release-with-install",
"configuration": "Release"
}
]
}