-
Notifications
You must be signed in to change notification settings - Fork 2
/
CMakePresets.json
95 lines (95 loc) · 2.12 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
{
"configurePresets": [
{
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"BUILD_TESTING": {
"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"
}
},
"toolchainFile": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"hidden": true,
"name": "vcpkg"
},
{
"cacheVariables": {
"CMAKE_CXX_FLAGS": {
"type": "STRING",
"value": "-fno-sanitize-recover=undefined -fsanitize=address,undefined -pedantic -pedantic-errors -Wall -Wextra --coverage -O3"
},
"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"
},
{
"generator": "Unix Makefiles",
"inherits": [
"linux",
"vcpkg"
],
"name": "ninja-linux"
},
{
"inherits": [
"ninja-linux"
],
"name": "ninja-linux-release",
"binaryDir": "${sourceDir}/build-release",
"cacheVariables": {
"CMAKE_BUILD_TYPE": {
"type": "STRING",
"value": "release"
}
}
}
],
"buildPresets": [
{
"name": "ninja-linux",
"configurePreset": "ninja-linux"
},
{
"name": "ninja-linux-release",
"configurePreset": "ninja-linux-release"
}
],
"version": 3
}