瀏覽代碼

STYLE: In Libs/.../CMakeLists.txt, add comment explaing the role of ctkMacroGetTargetLibraries cmake macro

Jean-Christophe Fillion-Robin 15 年之前
父節點
當前提交
be0567b35b
共有 4 個文件被更改,包括 4 次插入7 次删除
  1. 1 1
      Libs/Core/CMakeLists.txt
  2. 1 1
      Libs/DICOM/Core/CMakeLists.txt
  3. 1 1
      Libs/DICOM/Widgets/CMakeLists.txt
  4. 1 4
      Libs/Widgets/CMakeLists.txt

+ 1 - 1
Libs/Core/CMakeLists.txt

@@ -29,9 +29,9 @@ SET(KIT_resources
 )
 
 # Target libraries - See CMake/ctkMacroGetTargetLibraries.cmake
+# The following macro will read the target libraries from the file 'target_libraries.cmake'
 ctkMacroGetTargetLibraries(KIT_target_libraries)
 
-# See CMake/ctkMacroBuildQtLib.cmake
 ctkMacroBuildQtLib(
   NAME ${PROJECT_NAME}
   EXPORT_DIRECTIVE ${KIT_export_directive}

+ 1 - 1
Libs/DICOM/Core/CMakeLists.txt

@@ -34,9 +34,9 @@ SET(KIT_resources
 )
 
 # Target libraries - See CMake/ctkMacroGetTargetLibraries.cmake
+# The following macro will read the target libraries from the file 'target_libraries.cmake'
 ctkMacroGetTargetLibraries(KIT_target_libraries)
 
-# See CMake/ctkMacroBuildQtLib.cmake
 ctkMacroBuildQtLib(
   NAME ${PROJECT_NAME}
   EXPORT_DIRECTIVE ${KIT_export_directive}

+ 1 - 1
Libs/DICOM/Widgets/CMakeLists.txt

@@ -36,9 +36,9 @@ SET(KIT_resources
 )
 
 # Target libraries - See CMake/ctkMacroGetTargetLibraries.cmake
+# The following macro will read the target libraries from the file 'target_libraries.cmake'
 ctkMacroGetTargetLibraries(KIT_target_libraries)
   
-# See CMake/ctkMacroBuildQtLib.cmake
 ctkMacroBuildQtLib(
   NAME ${PROJECT_NAME}
   EXPORT_DIRECTIVE ${KIT_export_directive}

+ 1 - 4
Libs/Widgets/CMakeLists.txt

@@ -30,9 +30,9 @@ SET(KIT_resources
 )
 
 # Target libraries - See CMake/ctkMacroGetTargetLibraries.cmake
+# The following macro will read the target libraries from the file 'target_libraries.cmake'
 ctkMacroGetTargetLibraries(KIT_target_libraries)
 
-# See CMake/ctkMacroBuildQtLib.cmake
 ctkMacroBuildQtLib(
   NAME ${PROJECT_NAME}
   EXPORT_DIRECTIVE ${KIT_export_directive}
@@ -52,6 +52,3 @@ ctkMacroBuildQtLib(
 IF(BUILD_TESTING)
   #ADD_SUBDIRECTORY(Testing)
 ENDIF(BUILD_TESTING)
-# ADD_EXECUTABLE(MyMain dummyMain.cpp)
-# TARGET_LINK_LIBRARIES(MyMain ${PROJECT_NAME})
-