Selaa lähdekoodia

Removed obsolete CMake file.

Sascha Zelzer 14 vuotta sitten
vanhempi
commit
ac30f54071
2 muutettua tiedostoa jossa 0 lisäystä ja 41 poistoa
  1. 0 29
      CMake/ctkMacroGeneratePluginList.cmake
  2. 0 12
      CMakeLists.txt

+ 0 - 29
CMake/ctkMacroGeneratePluginList.cmake

@@ -1,29 +0,0 @@
-#
-# Depends on:
-#  CTK/CMake/ctkMacroParseArguments.cmake
-#
-
-MACRO(ctkMacroGeneratePluginList )
-
-  CtkMacroParseArguments(MY
-    "FILE;DIRECTORIES"
-    ""
-    ${ARGN}
-    )
-
-  # Sanity checks
-  IF(NOT DEFINED MY_FILE)
-    MESSAGE(SEND_ERROR "FILE is mandatory")
-  ENDIF()
-
-  SET(_content )
-  FOREACH(plugin ${MY_DIRECTORIES})
-    SET(_content "${_content}\n
-
-  ENDFOREACH()
-
-
-  FILE(WRITE "${_manifest_filepath}" "${_manifest_content}")
-  FILE(WRITE "${_manifest_qrc_filepath}" "${_manifest_qrc_content}")
-
-ENDMACRO()

+ 0 - 12
CMakeLists.txt

@@ -424,18 +424,6 @@ FOREACH(plugin ${CTK_PLUGINS})
   LIST(APPEND CTK_PLUGINS_SUBDIRS "${plugin_name}")
 ENDFOREACH()
 
-# Create a file with variables containing the paths to the source, binary, and library directory
-# of each enabled plugin. This is needed to setup include and library dependencies to other plugins
-#SET(CTK_PLUGIN_LIST "${CMAKE_CURRENT_BINARY_DIR}/ctkPluginList.cmake")
-#SET(CTK_PLUGINS_SUBDIRS_ENABLED )
-#FOREACH(plugin ${CTK_PLUGINS_SUBDIRS})
-#  IF (CTK_PLUGIN_${plugin})
-#    LIST(APPEND CTK_PLUGINS_SUBDIRS_ENABLED Plugins/${plugin})
-#  ENDIF()
-#ENDFOREACH()
-#ctkMacroGeneratePluginList(FILE ${CTK_PLUGIN_LIST}
-#                           DIRECTORIES ${CTK_PLUGINS_SUBDIRS_ENABLED})
-
 # Build options associated with CTK applications
 FOREACH(app ${CTK_APPLICATIONS})
   ctkFunctionExtractOptionNameAndValue(${app} app_name app_value)