QGIS/python/plugins/db_manager/CMakeLists.txt
Sandro Santilli 8ca2236134 Add a PLUGIN_INSTALL cmake macro and use it from db_manager plugin
One step forward toward closing http://hub.qgis.org/issues/5879
Next all pugins should be converted to use of the macro...
2012-10-20 01:17:37 +02:00

13 lines
366 B
CMake

ADD_SUBDIRECTORY(db_plugins)
ADD_SUBDIRECTORY(icons)
FILE(GLOB OTHER_FILES LICENCE README TODO)
FILE(GLOB PY_FILES *.py)
FILE(GLOB UI_FILES ui/*.ui)
PYQT4_WRAP_UI(PYUI_FILES ${UI_FILES})
PYQT4_ADD_RESOURCES(PYRC_FILES resources.qrc)
PLUGIN_INSTALL(db_manager . ${OTHER_FILES} ${PY_FILES} ${PYRC_FILES})
PLUGIN_INSTALL(db_manager ui ${PYUI_FILES} ui/__init__.py)