QGIS/python/plugins/fTools/CMakeLists.txt
Martin Dobias 32de07dc4d Remove the support for reading python plugin metadata from __init__.py
From now on, plugins must have metadata.txt file (with INI format)
that is used for storing of metadata. This has two advantages:
- plugins do not need to be loaded in order to read metadata
- repository can parse the metadata more easily
2013-03-19 00:10:51 +01:00

13 lines
330 B
CMake

FILE(GLOB INSTALLER_FILES *.py)
FILE(GLOB UI_FILES *.ui)
PYQT4_WRAP_UI(PYUI_FILES ${UI_FILES})
PYQT4_ADD_RESOURCES(PYRC_FILES resources.qrc)
SET(INSTALLER_FILES ${INSTALLER_FILES} ${PYUI_FILES} ${PYRC_FILES})
PLUGIN_INSTALL(fTools . ${INSTALLER_FILES} __init__.py metadata.txt)
ADD_SUBDIRECTORY(tools)
ADD_SUBDIRECTORY(icons)