-
Notifications
You must be signed in to change notification settings - Fork 1
/
CMakePresets.json
110 lines (110 loc) · 2.55 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
{
"configurePresets": [
{
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"CMAKE_BUILD_TYPE": {
"type": "STRING",
"value": "Debug"
}
},
"errors": {
"deprecated": true
},
"hidden": true,
"name": "cmake-dev",
"warnings": {
"deprecated": true,
"dev": true
}
},
{
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": {
"type": "STRING",
"value": "$env{VCPKG_INSTALLATION_ROOT}/scripts/buildsystems/vcpkg.cmake"
},
"VCPKG_MANIFEST_FEATURES": {
"type": "STRING",
"value": "tests"
}
},
"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_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_TARGET_TRIPLET": {
"type": "STRING",
"value": "x64-linux"
}
},
"hidden": true,
"name": "linux"
},
{
"environment": {
"CXXFLAGS": "/MP /W4 /WX $penv{CXXFLAGS}"
},
"generator": "Visual Studio 17 2022",
"inherits": [
"cmake-dev",
"vcpkg",
"windows"
],
"name": "vs2022-windows-vcpkg",
"toolset": "v143"
},
{
"environment": {
"CXXFLAGS": "/MP /W4 /WX /external:anglebrackets /external:W0 $penv{CXXFLAGS}"
},
"generator": "Ninja",
"inherits": [
"cmake-dev",
"vcpkg",
"windows"
],
"name": "ninja-windows-vcpkg"
},
{
"generator": "Ninja",
"inherits": [
"cmake-dev",
"linux"
],
"name": "ninja-linux-apt"
}
],
"version": 2
}