forked from disorderedmaterials/dissolve
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakePresets.json
179 lines (173 loc) · 5.13 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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 15,
"patch": 0
},
"configurePresets": [
{
"name": "base",
"displayName": "Basic Config",
"description": "The base from which all presets inherit",
"hidden": true,
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/",
"cacheVariables": {
"CMAKE_INSTALL_PREFIX": "${sourceDir}/build/install/",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
}
},
{
"name": "nix",
"displayName": "Common settings for all Nix builds",
"description": "Common settings for building on Nix systems",
"hidden": true,
"cacheVariables": {
"CONAN": "OFF"
}
},
{
"name": "tests",
"displayName": "Testing and benchmark settings",
"description": "Common settings to build tests and benchmarks",
"hidden": true,
"cacheVariables": {
"BUILD_TESTS": "ON",
"BUILD_BENCHMARKS": "ON"
}
},
{
"name": "Release",
"displayName": "Release build settings",
"description": "Common settings for all release builds",
"hidden": true,
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "Debug",
"displayName": "Debug build settings",
"description": "Common settings for all debug builds",
"hidden": true,
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "GUI-base",
"displayName": "GUI build settings",
"description": "Common settings for all GUI builds",
"hidden": true,
"cacheVariables": {
"GUI": "ON"
}
},
{
"name": "MPI-base",
"displayName": "MPI build settings",
"description": "Common settings for all GUI builds",
"hidden": true,
"cacheVariables": {
"PARALLEL": "ON"
}
},
{
"name": "GUI",
"displayName": "GUI Build",
"description": "The preset for a GUI developer build with tests",
"inherits": ["base", "Release", "GUI-base", "tests"]
},
{
"name": "GUI-Release",
"displayName": "GUI Release Build",
"description": "The preset for a GUI production build without tests",
"inherits": ["base", "Release", "GUI-base"]
},
{
"name": "GUI-Debug",
"displayName": "GUI Debug Build",
"description": "The preset for a GUI debug build with tests",
"inherits": ["base", "Debug", "GUI-base", "tests"]
},
{
"name": "GUI-nix",
"displayName": "GUI Nix Build",
"description": "The preset for a GUI developer build on a Nix system with tests",
"inherits": ["base", "Release", "GUI-base", "nix", "tests"]
},
{
"name": "GUI-Debug-nix",
"displayName": "GUI Debug Nix Build",
"description": "The preset for a GUI debug build on a Nix system with tests",
"inherits": ["base", "Debug", "GUI-base", "nix", "tests"]
},
{
"name": "MPI",
"displayName": "MPI Build",
"description": "The preset for a MPI developer build, with tests",
"inherits": ["base", "Release", "MPI-base", "tests"]
},
{
"name": "MPI-Release",
"displayName": "MPI Release Build",
"description": "The preset for a MPI production build, with without tests",
"inherits": ["base", "Release", "MPI-base"]
},
{
"name": "MPI-Debug",
"displayName": "MPI Debug Build",
"description": "The preset for a MPI debug build, with tests and debugging enabled",
"inherits": ["base", "Debug", "MPI-base", "tests"]
},
{
"name": "MPI-nix",
"displayName": "MPI Nix Build",
"description": "The preset for a MPI developer build on a Nix system, with tests",
"inherits": ["base", "Release", "MPI-base", "nix"]
},
{
"name": "MPI-Debug-nix",
"displayName": "MPI Debug Nix Build",
"description": "The preset for a MPI debug build on a Nix system, with tests",
"inherits": ["base", "Debug", "MPI-base", "nix"]
},
{
"name": "CLI",
"displayName": "CLI Build",
"description": "The preset for a CLI developer build with tests",
"inherits": ["base", "Release"]
},
{
"name": "CLI-Release",
"displayName": "CLI Release Build",
"description": "The preset for a CLI production build without tests",
"inherits": ["base", "Release"]
},
{
"name": "CLI-Debug",
"displayName": "CLI Debug Build",
"description": "The preset for a CLI debug build with tests",
"inherits": ["base", "Debug"]
},
{
"name": "CLI-nix",
"displayName": "CLI Nix Build",
"description": "The preset for a CLI developer build on a Nix system with tests",
"inherits": ["base", "Release", "nix"]
},
{
"name": "CLI-Debug-nix",
"displayName": "CLI Debug Nix Build",
"description": "The preset for a CLI debug build on a Nix system with tests",
"inherits": ["base", "Debug", "nix"]
},
{
"name": "SCARF",
"displayName": "SCARF build",
"description": "Best setup for SCARF",
"inherits" : ["MPI-Release"]
}
]
}