~alan-griffiths/miral/debug

« back to all changes in this revision

Viewing changes to miral-qt/src/modules/CMakeLists.txt

  • Committer: Gerry Boland
  • Date: 2016-06-01 22:06:51 UTC
  • mto: This revision was merged to the branch mainline in revision 178.
  • Revision ID: gerry.boland@canonical.com-20160601220651-ge508tffql4e7u7c
Import QtMir code into miral-qt subdirectory. Disabled by default, use -DMIRAL_ENABLE_QT=1 to build.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
include(QmlPlugins)
 
2
 
 
3
# Set up and install a QML plugin.
 
4
#
 
5
# add_qml_plugin(plugin version path
 
6
#     [...]  # See export_qmlfiles and export_qmlplugin documentation for more options
 
7
# )
 
8
 
 
9
macro(add_qml_plugin PLUGIN VERSION PATH)
 
10
    export_qmlfiles(${PLUGIN} ${PATH} DESTINATION ${QML_MODULE_INSTALL_DIR} ${ARGN})
 
11
    export_qmlplugin(${PLUGIN} ${VERSION} ${PATH} DESTINATION ${QML_MODULE_INSTALL_DIR} ${ARGN})
 
12
endmacro()
 
13
 
 
14
add_subdirectory(Unity)