Skip to content
Permalink
Browse files
add library dependencies to python bindings
  • Loading branch information
jef-n committed May 22, 2014
1 parent 6b1c7c7 commit 59a8cb4d2825c962fdec65f75e17996c05ee6252
Showing with 2 additions and 0 deletions.
  1. +1 −0 cmake/PyQt4Macros.cmake
  2. +1 −0 python/CMakeLists.txt
@@ -38,6 +38,7 @@ MACRO(PYQT4_WRAP_UI outfiles )
ADD_CUSTOM_COMMAND(OUTPUT ${outfile}
COMMAND ${PYUIC4_WRAPPER} "${PYUIC4_PROGRAM}" "${PYUIC4_WRAPPER_PATH}" "${QGIS_OUTPUT_DIRECTORY}/python" ${infile} -o ${outfile}
MAIN_DEPENDENCY ${infile}
DEPENDS pygui pycore
)
SET(${outfiles} ${${outfiles}} ${outfile})
ENDFOREACH(it)
@@ -241,6 +241,7 @@ ENDFOREACH(pyfile)

FOREACH(module core gui analysis networkanalysis)
ADD_CUSTOM_TARGET(py${module} ALL)
ADD_DEPENDENCIES(py${module} python_module_qgis__${module})
FILE(GLOB_RECURSE PY_FILES "${module}/*.py")
INSTALL(FILES ${PY_FILES} DESTINATION "${QGIS_PYTHON_DIR}/${module}")
FOREACH(pyfile ${PY_FILES})

0 comments on commit 59a8cb4

Please sign in to comment.