Procházet zdrojové kódy

Merge branch 'small-cmake-cleanups'

* small-cmake-cleanups:
  Small documentation and style fixes

Conflicts:
	CMake/ctkMacroListFilter.cmake
	CMake/ctkMacroTargetLibraries.cmake
Sascha Zelzer před 13 roky
rodič
revize
4db4ed5238

+ 4 - 4
CMake/ctkMacroListFilter.cmake

@@ -3,8 +3,8 @@
 #!
 #! Usage:
 #! \code
-#! LIST_FILTER(<list> <regexp_var> [<regexp_var> ...]
-#!              [OUTPUT_VARIABLE <variable>])
+#! ctkMacroListFilter(<list> <regexp_var> [<regexp_var> ...]
+#!                    [OUTPUT_VARIABLE <variable>])
 #! \endcode
 #!
 #! Removes items from <list> which do not match any of the specified
@@ -17,7 +17,7 @@
 #! http://www.cmake.org/Wiki/CMakeMacroParseArguments
 #!
 #! \ingroup CMakeUtilities
-macro(CtkMacroListFilter)
+macro(ctkMacroListFilter)
   ctkMacroParseArguments(LIST_FILTER "OUTPUT_VARIABLE" "" ${ARGV})
   # Check arguments.
   list(LENGTH LIST_FILTER_DEFAULT_ARGS LIST_FILTER_default_length)
@@ -48,4 +48,4 @@ macro(CtkMacroListFilter)
   if(${LIST_FILTER_OUTPUT_VARIABLE} STREQUAL "LIST_FILTER_internal_output")
     set(${LIST_FILTER_input_list} ${${LIST_FILTER_OUTPUT_VARIABLE}})
   endif()
-endmacro(CtkMacroListFilter)
+endmacro(ctkMacroListFilter)

+ 4 - 3
CMake/ctkMacroTargetLibraries.cmake

@@ -211,9 +211,10 @@ macro(ctkMacroGetAllProjectTargetLibraries all_target_libraries varname)
   endif()
 endmacro()
 
-#
-# Extract all library names *NOT* being build within this project
-#
+#!
+#! Extract all library names *NOT* being build within this project
+#!
+#! \ingroup CMakeUtilities
 macro(ctkMacroGetAllNonProjectTargetLibraries all_target_libraries varname)
   ctkMacroGetAllProjectTargetLibraries("${all_target_libraries}" all_project_libraries)
   set(_tmp_list ${all_target_libraries})