[Qgis-developer] PLUGIN_INSTALL CMake macro
Sandro Santilli
strk at keybit.net
Fri Oct 19 16:22:58 PDT 2012
I've pushed a PLUGIN_INSTALL macro for use by the core python
plugins to specify files to be installed (now that I write this
I realize it could have been called PYTHON_PLUGIN_INSTALL).
The macro will generate an "install" rule to put the given list
of files in the final system destination _and_ a rule to always
install in the output/python/plugins/<plugin>/ at build time.
This is to allow full usage experience when running qgis from
the output dir (test before install).
Example usage:
PLUGIN_INSTALL(db_manager . ${OTHER_FILES} ${PY_FILES} ${PYRC_FILES})
PLUGIN_INSTALL(db_manager ui ${PYUI_FILES} ui/__init__.py)
Signature:
PLUGIN_INSTALL(<plugin_name> <subdir> <list_of_files_to_install>)
I hope it'll help moving further with http://hub.qgis.org/issues/5879
--strk;
More information about the Qgis-developer
mailing list