mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
14 lines
399 B
CMake
14 lines
399 B
CMake
FILE(GLOB PY_FILES *.py)
|
|
PLUGIN_INSTALL(MetaSearch . ${PY_FILES} metadata.txt)
|
|
|
|
FOREACH(dir ui dialogs images resources resources/templates)
|
|
FILE(GLOB _items ${dir}/*)
|
|
SET(_files)
|
|
FOREACH(_item ${_items})
|
|
IF(NOT IS_DIRECTORY ${_item})
|
|
LIST(APPEND _files ${_item})
|
|
ENDIF(NOT IS_DIRECTORY ${_item})
|
|
ENDFOREACH(_item)
|
|
PLUGIN_INSTALL(MetaSearch ${dir} ${_files})
|
|
ENDFOREACH(dir)
|