forked from gracicot/kangaru
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakePresets.json
134 lines (134 loc) · 3.03 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
{
"version": 4,
"cmakeMinimumRequired": {
"major": 3,
"minor": 23,
"patch": 0
},
"configurePresets": [
{
"name": "generator",
"generator": "Ninja Multi-Config",
"binaryDir": "${sourceDir}/build",
"hidden": true
},
{
"name": "ci",
"displayName": "CI",
"inherits": "generator",
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"KANGARU_BUILD_EXAMPLES": "ON",
"KANGARU_INSTALL": "OFF",
"KANGARU_EXPORT": "OFF",
"KANGARU_REVERSE_DESTRUCTION": "ON",
"KANGARU_NO_EXCEPTION": "OFF",
"KANGARU_BENCHMARK": "OFF",
"KANGARU_TEST": "ON"
}
},
{
"name": "dev",
"displayName": "Development",
"inherits": "generator",
"cacheVariables": {
"KANGARU_BUILD_EXAMPLES": "ON",
"KANGARU_INSTALL": "ON",
"KANGARU_EXPORT": "ON",
"KANGARU_REVERSE_DESTRUCTION": "ON",
"KANGARU_HASH_TYPE_ID": "ON",
"KANGARU_NO_EXCEPTION": "OFF",
"KANGARU_BENCHMARK": "OFF",
"KANGARU_TEST": "ON",
"KANGARU_TEST_CXX14": "ON",
"KANGARU_TEST_CXX17": "ON"
}
},
{
"name": "export",
"displayName": "Export",
"inherits": "generator",
"cacheVariables": {
"KANGARU_BUILD_EXAMPLES": "OFF",
"KANGARU_INSTALL": "ON",
"KANGARU_EXPORT": "ON",
"KANGARU_REVERSE_DESTRUCTION": "ON",
"KANGARU_HASH_TYPE_ID": "ON",
"KANGARU_NO_EXCEPTION": "OFF",
"KANGARU_BENCHMARK": "OFF",
"KANGARU_TEST": "OFF",
"KANGARU_TEST_CXX14": "OFF",
"KANGARU_TEST_CXX17": "OFF"
}
}
],
"buildPresets": [
{
"name": "debug",
"displayName": "Debug",
"description": "Compiles with debug informations",
"configuration": "Debug",
"configurePreset": "dev"
},
{
"name": "relwithdebinfo",
"displayName": "RelWithDebInfo",
"description": "Compiles with optimisations and debug informations",
"configuration": "RelWithDebInfo",
"configurePreset": "dev"
},
{
"name": "release",
"displayName": "Release",
"description": "Compiles with optimisation enabled",
"configuration": "Release",
"configurePreset": "dev"
},
{
"name": "export",
"displayName": "Export",
"description": "Simply installs kangaru",
"configuration": "Release",
"configurePreset": "export"
},
{
"name": "ci",
"displayName": "CI",
"description": "The build configuration for CI",
"configuration": "RelWithDebInfo",
"configurePreset": "ci"
}
],
"testPresets": [
{
"name": "default-test",
"hidden": true,
"output": {"outputOnFailure": true},
"execution": {"noTestsAction": "error"}
},
{
"name": "debug",
"inherits": "default-test",
"configuration": "Debug",
"configurePreset": "dev"
},
{
"name": "relwithdebinfo",
"inherits": "default-test",
"configuration": "RelWithDebInfo",
"configurePreset": "dev"
},
{
"name": "release",
"inherits": "default-test",
"configuration": "Release",
"configurePreset": "dev"
},
{
"name": "ci",
"inherits": "default-test",
"configuration": "RelWithDebInfo",
"configurePreset": "ci"
}
]
}