From cffc6c44c0a832818e69e39455ab6609b7a8a3de Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Tue, 28 Jan 2014 19:01:32 +0000 Subject: [PATCH] CMake: Start refactoring of REGISTER_FEATURE git-svn-id: https://svn.dealii.org/trunk@32339 0785d39b-7218-0410-832d-ea1e28bc413d --- .../cmake/macros/macro_register_feature.cmake | 26 +++++++++---------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/deal.II/cmake/macros/macro_register_feature.cmake b/deal.II/cmake/macros/macro_register_feature.cmake index 22dffc44de..5c590280ee 100644 --- a/deal.II/cmake/macros/macro_register_feature.cmake +++ b/deal.II/cmake/macros/macro_register_feature.cmake @@ -15,26 +15,24 @@ ## --------------------------------------------------------------------- # -# This macro is used for the feature configuration in deal.II +# This macro is used for the feature configuration in deal.II. It adds +# individual FEATURE_* configuration variables to the corresponding +# DEAL_II_* variables # # Usage: # REGISTER_FEATURE(feature) # -# This macro will +# This macro will add # -# - add ${feature}_INCLUDE_DIRS and ${feature}_INCLUDE_PATH -# to the list of (internal) include directories -# - and if ${feature}_ADD_TO_USER_INCLUDE_DIRS is defined also to -# DEAL_II_USER_INCLUDE_DIRS +# _LIBRARIES +# _INCLUDE_DIRS(|_DEBUG|_RELEASE) +# _USER_INCLUDE_DIRS(|_DEBUG|_RELEASE) +# _DEFINITIONS(|_DEBUG|_RELEASE) +# _USER_DEFINITIONS(|_DEBUG|_RELEASE) +# _CXX_FLAGS(|_DEBUG|_RELEASE) +# _LINKER_FLAGS(|_DEBUG|_RELEASE) # -# - add ${feature}_LINKER_FLAGS and ${feature}_LINK_FLAGS to -# DEAL_II_LINKER_FLAGS -# -# - add ${feature}_CXX_FLAGS and ${feature}_COMPILE_FLAGS to -# DEAL_II_CXX_FLAGS -# -# - add ${feature}_LIBRARIES to the list of deal.II libraries depending -# on general, optimized or debug keyword +# to the corresponding DEAL_II_* variables # -- 2.39.5