Skip to content
This repository has been archived by the owner on Sep 4, 2021. It is now read-only.

Commit

Permalink
Add qmltypes make target
Browse files Browse the repository at this point in the history
  • Loading branch information
martyone committed May 10, 2018
1 parent 1f8301b commit 6693cbb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/qml/CMakeLists.txt
Expand Up @@ -37,3 +37,8 @@ install(FILES contextkit-qmldir
install(FILES contextkit-plugins.qmltypes
DESTINATION ${DST_LIB}/qt5/qml/org/freedesktop/contextkit
RENAME plugins.qmltypes)

add_custom_target(qmltypes
COMMAND qmlplugindump -nonrelocatable Mer.State 1.1 > plugins.qmltypes
COMMAND qmlplugindump -nonrelocatable org.freedesktop.contextkit 1.0 > contextkit-plugins.qmltypes
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})

0 comments on commit 6693cbb

Please sign in to comment.