Skip to content


Browse files Browse the repository at this point in the history
PyQGIS: make sure that python modules don't get out of sync: rebuild …
…gui and analysis modules when core module is changed

git-svn-id: c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Jan 31, 2010
1 parent 65982ea commit d66c641
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/CMakeLists.txt
Expand Up @@ -47,7 +47,7 @@ INCLUDE_DIRECTORIES(

# gui module
FILE(GLOB sip_files_gui gui/*.sip)
set(SIP_EXTRA_FILES_DEPEND ${sip_files_gui})
set(SIP_EXTRA_FILES_DEPEND ${sip_files_core} ${sip_files_gui})
ADD_SIP_PYTHON_MODULE(qgis.gui gui/gui.sip qgis_core qgis_gui)

# additional analysis includes
Expand All @@ -58,7 +58,7 @@ INCLUDE_DIRECTORIES(

# analysis module
FILE(GLOB sip_files_analysis analysis/*.sip)
set(SIP_EXTRA_FILES_DEPEND ${sip_files_analysis})
set(SIP_EXTRA_FILES_DEPEND ${sip_files_core} ${sip_files_analysis})
ADD_SIP_PYTHON_MODULE(qgis.analysis analysis/analysis.sip qgis_core qgis_analysis)

Expand Down

0 comments on commit d66c641

Please sign in to comment.