-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathOptions.cmake
235 lines (198 loc) · 7.77 KB
/
Options.cmake
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
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
##
# .. _`opencmiss_version`:
#
# OPENCMISS_VERSION
# -----------------
#
# Set the version of OpenCMISS to create installation for. The value of this variable must be one of
# the known OpenCMISS versions.
#
# The default value is 'develop'.
set(OPENCMISS_VERSION "develop" CACHE STRING "The branch or tag to setup. Must be one of: ${KNOWN_OPENCMISS_VERSIONS}")
##
# .. _`opencmiss_setup_type`:
#
# OPENCMISS_SETUP_TYPE
# --------------------
#
# Set the type of OpenCMISS installation to create installation for. The value of this variable must be one of
# the known OpenCMISS setup types [|standard|, libraries, dependencies, cmake_modules].
#
# The default value is 'standard'.
set(OPENCMISS_SETUP_TYPE "standard" CACHE STRING "The type of OpenCMISS installation to setup.")
##
# .. _`opencmiss_independent`:
#
# OPENCMISS_INDEPENDENT
# ---------------------
#
# A boolean valued variable to set whether the installation should be setup with independent roots or not. If the
# value is false a single root variable :cmake:`OPENCMISS_ROOT` is used under which the entire installation of OpenCMISS libraries
# will be placed.
#
# See also: :cmake:`OPENCMISS_SETUP_TYPE`
set(OPENCMISS_INDEPENDENT FALSE CACHE BOOL "Setup with independent locations for libraries, dependencies, modules, and manage script.")
##
# .. _`opencmiss_setup_organisation`:
#
# OPENCMISS_SETUP_ORGANISATION
# ----------------------------
#
# The GitHub organisation to use for setup i.e., for the cmake_modules and manage repositories.
#
# The default value is 'OpenCMISS'.
#
# See also: :cmake:`OPENCMISS_SETUP_BRANCH`
set(OPENCMISS_SETUP_ORGANISATION OpenCMISS CACHE STRING "The GitHub organisation to use for setup i.e., for the cmake_modules and manage repositories.")
##
# .. _`opencmiss_setup_branch`:
#
# OPENCMISS_SETUP_BRANCH
# ----------------------
#
# The branch of the cmake_modules and manage repositories to use for setup.
#
# The default value is 'develop'.
#
# See also: :cmake:`OPENCMISS_SETUP_ORGANISATION`
set(OPENCMISS_SETUP_BRANCH develop CACHE STRING "The cmake_modules and manage repositories branch to use for setup.")
##
# .. _`opencmiss_perform_initial_build`:
#
# OPENCMISS_PERFORM_INITIAL_BUILD
# -------------------------------
#
# A boolean valued variable to set whether the initial configuration should be built once the setup of the OpenCMISS CMake modules
# and manage projects has been finished.
#
# See also: :cmake:`OPENCMISS_MULTI_ARCHITECTURE`, :cmake:`OPENCMISS_CONFIG_BUILD_TYPE`
set(OPENCMISS_PERFORM_INITIAL_BUILD TRUE CACHE BOOL "Configure, build and install the default settings.")
##
# .. _`opencmiss_multi_architecture`:
#
# OPENCMISS_MULTI_ARCHITECTURE
# ----------------------------
#
# A boolean valued variable to set whether the installation should be setup for multiple architectures (multiple compiler toolchains, MPI).
# If the value is false a only a single architecture will be possible once a configuration has been created. If the value is true the path to
# the configuration, build, and install trees will have the path prepended with the details of the architecture (computer architectre/compilers in use/MPI in use).
#
# This option is available only if :cmake:`OPENCMISS_PERFORM_INITIAL_BUILD` is on.
#
# See also: :cmake:`OPENCMISS_PERFORM_INITIAL_BUILD`
set(OPENCMISS_MULTI_ARCHITECTURE FALSE CACHE BOOL "Setup for a multi architecture build.")
##
# .. _`opencmiss_config_build_type`:
#
# OPENCMISS_CONFIG_BUILD_TYPE
# ---------------------------
#
# Set the configuration build type to build. In multiple configuration environments (like Microsoft Visual Studio) the configuration build type is
# taken from the active build configuration.
#
# This option is available in single configuration environments and only if :cmake:`OPENCMISS_PERFORM_INITIAL_BUILD` is on.
#
# See also: :cmake:`OPENCMISS_PERFORM_INITIAL_BUILD`
set(OPENCMISS_CONFIG_BUILD_TYPE Release CACHE STRING "Set the configuration build type.")
##
# .. _`opencmiss_libraries`:
#
# OPENCMISS_LIBRARIES
# -------------------
#
# Set the OpenCMISS libraries to build. The value of this variable must be one of
# the known OpenCMISS libraries build types [|all|, iron, zinc].
#
# The default value is 'all'.
set(OPENCMISS_LIBRARIES "all" CACHE STRING "Set which OpenCMISS libraries to build.")
##
# .. _`opencmiss_root`:
#
# OPENCMISS_ROOT
# --------------
#
# The location of the installation for the whole OpenCMISS libraries installation.
#
# Visibility of this variable is subject to the values of :cmake:`OPENCMISS_INDEPENDENT` and :cmake:`OPENCMISS_SETUP_TYPE`
set(OPENCMISS_ROOT "" CACHE PATH "The location of the OpenCMISS root root")
##
# .. _`opencmiss_libraries_root`:
#
# OPENCMISS_LIBRARIES_ROOT
# ------------------------
#
# The location of the installation for the OpenCMISS libraries.
#
# Visibility of this variable is subject to the values of :cmake:`OPENCMISS_INDEPENDENT` and :cmake:`OPENCMISS_SETUP_TYPE`
set(OPENCMISS_LIBRARIES_ROOT "" CACHE PATH "The location of the OpenCMISS root libraries")
##
# .. _`opencmiss_examples_root`:
#
# OPENCMISS_EXAMPLES_ROOT
# ------------------------
#
# The location of the installation for the OpenCMISS examples.
#
# Visibility of this variable is subject to the values of :cmake:`OPENCMISS_INDEPENDENT` and :cmake:`OPENCMISS_SETUP_TYPE`
set(OPENCMISS_EXAMPLES_ROOT "" CACHE PATH "The location of the OpenCMISS root examples")
##
# .. _`opencmiss_dependencies_root`:
#
# OPENCMISS_DEPENDENCIES_ROOT
# ---------------------------
#
# The location of the installation for the OpenCMISS dependencies installation. This may include the cmake modules if
# :cmake:`OPENCMISS_INDEPENDENT` is :cmake:`FALSE`.
#
# Visibility of this variable is subject to the values of :cmake:`OPENCMISS_INDEPENDENT` and :cmake:`OPENCMISS_SETUP_TYPE`
set(OPENCMISS_DEPENDENCIES_ROOT "" CACHE PATH "The location of the OpenCMISS root dependencies")
##
# .. _`opencmiss_manage_root`:
#
# OPENCMISS_MANAGE_ROOT
# ---------------------
#
# The location of the installation for the OpenCMISS manage installation.
#
# Visibility of this variable is subject to the values of :cmake:`OPENCMISS_INDEPENDENT` and :cmake:`OPENCMISS_SETUP_TYPE`
set(OPENCMISS_MANAGE_ROOT "" CACHE PATH "The location of the OpenCMISS root manage")
##
# .. _`opencmiss_cmake_modules_root`:
#
# OPENCMISS_CMAKE_MODULES_ROOT
# ----------------------------
#
# The location of the installation for the OpenCMISS CMake modules installation.
#
# Visibility of this variable is subject to the values of :cmake:`OPENCMISS_INDEPENDENT` and :cmake:`OPENCMISS_SETUP_TYPE`
set(OPENCMISS_CMAKE_MODULES_ROOT "" CACHE PATH "The location of the OpenCMISS root CMake modules")
##
# .. _`opencmiss_iron_root`:
#
# OPENCMISS_IRON_ROOT
# -------------------
#
# The location of the installation for the OpenCMISS Iron installation.
#
# Visibility of this variable is subject to the values of :cmake:`OPENCMISS_INDEPENDENT`, :cmake:`OPENCMISS_LIBRARIES` and :cmake:`OPENCMISS_SETUP_TYPE`
set(OPENCMISS_IRON_ROOT "" CACHE PATH "The location of the OpenCMISS root Iron")
##
# .. _`opencmiss_zinc_root`:
#
# OPENCMISS_ZINC_ROOT
# -------------------
#
# The location of the installation for the whole OpenCMISS Zinc installation.
#
# Visibility of this variable is subject to the values of :cmake:`OPENCMISS_INDEPENDENT`, :cmake:`OPENCMISS_LIBRARIES` and :cmake:`OPENCMISS_SETUP_TYPE`
set(OPENCMISS_ZINC_ROOT "" CACHE PATH "The location of the OpenCMISS root Zinc")
##
# .. _`opencmiss_dependencies_install_prefix`:
#
# OPENCMISS_DEPENDENCIES_INSTALL_PREFIX
# -------------------------------------
#
# The prefix for the location of the installed OpenCMISS dependencies.
#
# Visibility of this variable is subject to the values of :cmake:`OPENCMISS_INDEPENDENT` and :cmake:`OPENCMISS_SETUP_TYPE`
set(OPENCMISS_DEPENDENCIES_INSTALL_PREFIX "" CACHE PATH "The prefix for the location of the installed OpenCMISS dependencies")