mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
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
16 lines
532 B
CMake
16 lines
532 B
CMake
FILE(GLOB INSTALLER_FILES *.py)
|
|
SET(INSTALLER_FILES ${INSTALLER_FILES})
|
|
|
|
FILE(GLOB UI_FILES *.ui)
|
|
PYQT4_WRAP_UI(PYUI_FILES ${UI_FILES})
|
|
PYQT4_ADD_RESOURCES(PYRC_FILES resources.qrc)
|
|
#ADD_CUSTOM_TARGET(gdaltools ALL DEPENDS ${PYUI_FILES} ${PYRC_FILES})
|
|
|
|
SET(INSTALLER_FILES ${INSTALLER_FILES} ${PYUI_FILES} ${PYRC_FILES})
|
|
|
|
#INSTALL(FILES ${INSTALLER_FILES} DESTINATION ${QGIS_DATA_DIR}/python/plugins/GdalTools)
|
|
PLUGIN_INSTALL(GdalTools . ${INSTALLER_FILES} __init__.py metadata.txt)
|
|
|
|
ADD_SUBDIRECTORY(tools)
|
|
ADD_SUBDIRECTORY(icons)
|