## ---------------------------------------------------------------------
##
-## Copyright (C) 2012 - 2015 by the deal.II authors
+## Copyright (C) 2012 - 2016 by the deal.II authors
##
## This file is part of the deal.II library.
##
"Compile deal.II using C++11 language standard."
${DEAL_II_HAVE_CXX11}
)
+LIST(APPEND DEAL_II_FEATURES CXX11)
OPTION(DEAL_II_WITH_CXX14
"Compile deal.II using C++14 language standard."
${DEAL_II_HAVE_CXX14}
)
+LIST(APPEND DEAL_II_FEATURES CXX14)
#
# Bail out if user requested C++11 support (DEAL_II_WITH_CXX11) but support
## ---------------------------------------------------------------------
##
-## Copyright (C) 2012 - 2015 by the deal.II authors
+## Copyright (C) 2012 - 2016 by the deal.II authors
##
## This file is part of the deal.II library.
##
########################################################################
MACRO(CONFIGURE_FEATURE _feature)
+
+ #
+ # Register the feature in the DEAL_II_FEATURES list
+ #
+ LIST(APPEND DEAL_II_FEATURES ${_feature})
+
#
# This script is arcane black magic. But at least for the better good: We
# don't have to copy the configuration logic to every single
IF(FEATURE_${_feature}_HAVE_BUNDLED)
RUN_COMMAND("FEATURE_${_feature}_CONFIGURE_BUNDLED()")
MESSAGE(STATUS "DEAL_II_WITH_${_feature} successfully set up with bundled packages.")
- LIST(APPEND DEAL_II_FEATURES ${_feature})
SET(FEATURE_${_feature}_BUNDLED_CONFIGURED TRUE)
SET_CACHED_OPTION(${_feature} ON)
ELSE()
ENDIF()
MESSAGE(STATUS "DEAL_II_WITH_${_feature} successfully set up with external dependencies.")
- LIST(APPEND DEAL_II_FEATURES ${_feature})
SET(FEATURE_${_feature}_EXTERNAL_CONFIGURED TRUE)
SET_CACHED_OPTION(${_feature} ON)
RUN_COMMAND("FEATURE_${_feature}_CONFIGURE_BUNDLED()")
MESSAGE(STATUS "DEAL_II_WITH_${_feature} successfully set up with bundled packages.")
- LIST(APPEND DEAL_II_FEATURES ${_feature})
SET(FEATURE_${_feature}_BUNDLED_CONFIGURED TRUE)
SET_CACHED_OPTION(${_feature} ON)
## ---------------------------------------------------------------------
##
-## Copyright (C) 2012 - 2015 by the deal.II authors
+## Copyright (C) 2012 - 2016 by the deal.II authors
##
## This file is part of the deal.II library.
##
"If set to ON, then use 64-bit data types to represent global degree of freedom indices. The default is to OFF. You only want to set this to ON if you will solve problems with more than 2^31 (approximately 2 billion) unknowns. If set to ON, you also need to ensure that both Trilinos and/or PETSc support 64-bit indices."
OFF
)
+LIST(APPEND DEAL_II_FEATURES 64BIT_INDICES)
OPTION(DEAL_II_DOXYGEN_USE_MATHJAX
"If set to ON, doxygen documentation is generated using mathjax"
## ---------------------------------------------------------------------
##
-## Copyright (C) 2012 - 2015 by the deal.II authors
+## Copyright (C) 2012 - 2016 by the deal.II authors
##
## This file is part of the deal.II library.
##
# Register features:
#
FOREACH(_feature ${DEAL_II_FEATURES})
- FILTER_SYSTEM_LIBRARIES(${_feature}) # TODO, remove here
- REGISTER_FEATURE(${_feature})
+ IF(DEAL_II_WITH_${_feature})
+ FILTER_SYSTEM_LIBRARIES(${_feature})
+ REGISTER_FEATURE(${_feature})
+ ENDIF()
ENDFOREACH()
#