Skip to content
Permalink
Browse files

Add dependency of port-plugin-xxx on staged-xxx

  • Loading branch information
m-kuhn committed Apr 23, 2016
1 parent fdd6896 commit caab3b3db5d480078df136bb8ba7c55df2f5c0ab
Showing with 5 additions and 4 deletions.
  1. +5 −4 python/plugins/CMakeLists.txt
@@ -41,13 +41,14 @@ MACRO (PLUGIN_INSTALL plugin subdir )
COMMAND ${CMAKE_COMMAND} -E remove_directory ${PYTHON_OUTPUT_DIRECTORY}/plugins/${plugin}
)

ADD_CUSTOM_TARGET(port-plugin-${plugin})
PY_2TO3(port-plugin-${plugin} ${PYTHON_OUTPUT_DIRECTORY}/plugins/${plugin})
ADD_DEPENDENCIES(port-plugins port-plugin-${plugin})

ADD_DEPENDENCIES(staged-plugins zzz-${plugin}-stageinstall)
ADD_CUSTOM_TARGET(staged-${plugin} DEPENDS zzz-${plugin}-stageinstall)
FILE(WRITE ${_cmake} "")

ADD_CUSTOM_TARGET(port-plugin-${plugin})
PY_2TO3(port-plugin-${plugin} ${PYTHON_OUTPUT_DIRECTORY}/plugins/${plugin})
ADD_DEPENDENCIES(port-plugins port-plugin-${plugin})
ADD_DEPENDENCIES(port-plugin-${plugin} staged-${plugin})
ENDIF(NOT TARGET zzz-${plugin}-stageinstall)

ADD_CUSTOM_TARGET(zzz-${plugin}-${n}-depend DEPENDS ${ARGN})

0 comments on commit caab3b3

Please sign in to comment.
You can’t perform that action at this time.