QGIS/python/plugins/osm/CMakeLists.txt

13 lines
406 B
CMake

FILE (GLOB UI_FILES ui_files/*.ui)
PYQT4_WRAP_UI(PYUI_FILES ${UI_FILES})
PYQT4_ADD_RESOURCES(PYRC_FILES resources.qrc)
FILE (GLOB PYTHON_FILES *.py)
FILE (GLOB MAPTOOLS_PYTHON_FILES map_tools/*.py)
FILE (GLOB STYLE_FILES styles/*.style)
PLUGIN_INSTALL (osm . ${PYTHON_FILES} ${PYUI_FILES} ${PYRC_FILES})
PLUGIN_INSTALL (osm map_tools ${MAPTOOLS_PYTHON_FILES})
PLUGIN_INSTALL (osm styles ${STYLE_FILES})