-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakePresets.json
146 lines (146 loc) · 3.33 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
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
{
"configurePresets": [
{
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"BUILD_TESTING": {
"type": "BOOL",
"value": "ON"
},
"SHARLIBS_BUILD_DOCS": {
"type": "BOOL",
"value": "ON"
},
"SHARLIBS_BUILD_EXAMPLES": {
"type": "BOOL",
"value": "ON"
},
"CMAKE_BUILD_TYPE": {
"type": "STRING",
"value": "Debug"
}
},
"errors": {
"deprecated": true
},
"hidden": true,
"name": "cmake-dev",
"warnings": {
"deprecated": true,
"dev": true
}
},
{
"cacheVariables": {
"VCPKG_MANIFEST_NO_DEFAULT_FEATURES": {
"type": "BOOL",
"value": "ON"
},
"VCPKG_OVERLAY_PORTS": {
"type": "STRING",
"value": "${sourceDir}/cmake/ports"
}
},
"toolchainFile": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"hidden": true,
"name": "vcpkg"
},
{
"cacheVariables": {
"CMAKE_EXE_LINKER_FLAGS_RELEASE": {
"type": "STRING",
"value": "/DEBUG:FASTLINK"
},
"CMAKE_MSVC_RUNTIME_LIBRARY": {
"type": "STRING",
"value": "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL"
},
"VCPKG_MANIFEST_FEATURES": {
"type": "STRING",
"value": "tests"
},
"VCPKG_TARGET_TRIPLET": {
"type": "STRING",
"value": "x64-windows-static-md"
}
},
"hidden": true,
"name": "windows"
},
{
"cacheVariables": {
"CMAKE_CXX_FLAGS": {
"type": "STRING",
"value": "-fno-sanitize-recover=undefined -fsanitize=address,undefined -pedantic -pedantic-errors -Wall -Werror -Wextra --coverage"
},
"CMAKE_EXE_LINKER_FLAGS": {
"type": "STRING",
"value": "-fno-sanitize-recover=undefined -fsanitize=address,undefined --coverage"
},
"CMAKE_EXPORT_COMPILE_COMMANDS": {
"type": "BOOL",
"value": "ON"
},
"VCPKG_MANIFEST_FEATURES": {
"type": "STRING",
"value": "tests"
},
"VCPKG_TARGET_TRIPLET": {
"type": "STRING",
"value": "x64-linux"
}
},
"hidden": true,
"name": "linux"
},
{
"architecture": {
"strategy": "set",
"value": "x64"
},
"cacheVariables": {
"CMAKE_CXX_FLAGS": "/EHsc /MP /W4"
},
"generator": "Visual Studio 17 2022",
"inherits": [
"cmake-dev",
"vcpkg",
"windows"
],
"name": "vs2022-windows",
"toolset": "v143"
},
{
"cacheVariables": {
"CMAKE_CXX_FLAGS": "/EHsc /MP /W4 /external:anglebrackets /external:W0"
},
"generator": "Ninja",
"inherits": [
"cmake-dev",
"vcpkg",
"windows"
],
"name": "ninja-windows"
},
{
"generator": "Ninja",
"inherits": [
"cmake-dev",
"linux",
"vcpkg"
],
"name": "ninja-linux"
}
],
"buildPresets": [
{
"name": "ninja-windows",
"configurePreset": "ninja-windows"
},
{
"name": "ninja-linux",
"configurePreset": "ninja-linux"
}
],
"version": 3
}