]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
CMake: Start refactoring of REGISTER_FEATURE
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 28 Jan 2014 19:01:32 +0000 (19:01 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 28 Jan 2014 19:01:32 +0000 (19:01 +0000)
git-svn-id: https://svn.dealii.org/trunk@32339 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/macros/macro_register_feature.cmake

index 22dffc44de670eb50ed1a5f0a5cf34368365541c..5c590280ee058f379a1cdd164a12271e7addf5ed 100644 (file)
 ## ---------------------------------------------------------------------
 
 #
-# 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
+#   <FEATURE>_LIBRARIES
+#   <FEATURE>_INCLUDE_DIRS(|_DEBUG|_RELEASE)
+#   <FEATURE>_USER_INCLUDE_DIRS(|_DEBUG|_RELEASE)
+#   <FEATURE>_DEFINITIONS(|_DEBUG|_RELEASE)
+#   <FEATURE>_USER_DEFINITIONS(|_DEBUG|_RELEASE)
+#   <FEATURE>_CXX_FLAGS(|_DEBUG|_RELEASE)
+#   <FEATURE>_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
 #
 
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.