forked from GEOS-ESM/GEOSgcm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakePresets.json
143 lines (143 loc) · 3.87 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
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 21,
"patch": 0
},
"configurePresets": [
{
"name": "base-configure",
"hidden": true,
"displayName": "Base Configure Settings",
"description": "Sets build and install directories",
"binaryDir": "${sourceDir}/build-${presetName}",
"cacheVariables": {
"BASEDIR": "$env{BASEDIR}",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/install-${presetName}"
}
},
{
"name": "base-gnu",
"hidden": true,
"inherits": "base-configure",
"displayName": "Base GNU Make Config",
"description": "Sets GNU Make generator",
"generator": "Unix Makefiles"
},
{
"name": "base-ninja",
"hidden": true,
"inherits": "base-configure",
"displayName": "Base Ninja Config",
"description": "Sets Ninja generator",
"generator": "Ninja"
},
{
"name": "Release",
"inherits": "base-gnu",
"displayName": "Release Configure",
"description": "Release build using GNU Make generator",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "Debug",
"inherits": "base-gnu",
"displayName": "Debug Configure",
"description": "Debug build using GNU Make generator",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "Aggressive",
"inherits": "base-gnu",
"displayName": "Aggressive Configure",
"description": "Aggressive build using GNU Make generator",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Aggressive"
}
},
{
"name": "Release-Ninja",
"inherits": "base-ninja",
"displayName": "Release Ninja Configure",
"description": "Release build using Ninja generator",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "Debug-Ninja",
"inherits": "base-ninja",
"displayName": "Debug Ninja Configure",
"description": "Debug build using Ninja generator",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "Aggressive-Ninja",
"inherits": "base-ninja",
"displayName": "Aggressive Ninja Configure",
"description": "Aggressive build using Ninja generator",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Aggressive"
}
}
],
"buildPresets": [
{
"name": "base-build",
"hidden": true,
"displayName": "Base Build Config",
"description": "Sets default build options",
"jobs": 6,
"targets": ["install"]
},
{
"name": "Release",
"configurePreset": "Release",
"inherits": "base-build",
"displayName": "Release Build",
"description": "Release build using GNU Make generator"
},
{
"name": "Debug",
"configurePreset": "Debug",
"inherits": "base-build",
"displayName": "Debug Build",
"description": "Debug build using GNU Make generator"
},
{
"name": "Aggressive",
"configurePreset": "Aggressive",
"inherits": "base-build",
"displayName": "Aggressive Build",
"description": "Aggressive build using GNU Make generator"
},
{
"name": "Release-Ninja",
"configurePreset": "Release-Ninja",
"inherits": "base-build",
"displayName": "Release Ninja Build",
"description": "Release build using Ninja generator"
},
{
"name": "Debug-Ninja",
"configurePreset": "Debug-Ninja",
"inherits": "base-build",
"displayName": "Debug Ninja Build",
"description": "Debug build using Ninja generator"
},
{
"name": "Aggressive-Ninja",
"configurePreset": "Aggressive-Ninja",
"inherits": "base-build",
"displayName": "Aggressive Ninja Build",
"description": "Aggressive build using Ninja generator"
}
]
}