A file cmake/configure/configure_<feature>.cmake defining how to
configure <feature>:
- DEAL_II_WITH_<FEATURE> (bool, mandatory)
- An option for enabling or disabling the configuration of <feature>.
-
FEATURE_<FEATURE>_DEPENDS (variable, optional)
a variable which contains an optional list of other features
this feature depends on (and which have to be enbled for this feature
FEATURE_<FEATURE>_CONFIGURE_EXTERNAL(var) (macro, mandatory)
which should setup all necessary configuration for the feature with
external dependencies. var set to TRUE indicates success,
- otherwise this script gives an error.
+ otherwise this script should issue a FATAL_ERROR.
FEATURE_<FEATURE>_CONFIGURE_BUNDLED(var) (macro, optional)
which should setup all necessary configuration for the feature with
is set up, or be undefined.
FEATURE_<FEATURE>_ERROR_MESSAGE() (macro, optional)
- which should print a meaningful error message (with SEND_ERROR) for
+ which should print a meaningful error message (with FATAL_ERROR) for
the case that no external library was found (and bundled is not
allowed to be used.) If not defined, a suitable default error message
will be printed.
# For a feature ${feature} (written in all caps) the following options,
# variables and macros have to be defined (except marked as optional):
#
-# DEAL_II_WITH_${feature} (bool, mandatory)
-# If DEAL_II_FEATURE_AUTODETECTION is OFF, this boolean determines
-# whether the feature will be configured.
-# If DEAL_II_FEATURE_AUTODETECTION is ON, this boolean will
-# automatically be set if configuring the feature was successful.
#
# FEATURE_${feature}_DEPENDS (variable, optional)
# a variable which contains an optional list of other features
# FEATURE_${feature}_CONFIGURE_BUNDLED(var) (macro, optional)
# which should setup all necessary configuration for the feature with
# bundled source dependencies. var set to TRUE indicates success,
-# otherwise this script gives an error.
+# otherwise this script should issue a FATAL_ERROR.
#
# FEATURE_${feature}_FIND_EXTERNAL(var) (macro, mandatory)
# which should set var to TRUE if all dependencies for the feature are