1# export_qmlplugin macro
6pkg_check_modules(QMENUMODEL REQUIRED qmenumodel)
7find_package(Qt5Core REQUIRED)
8find_package(Qt5Quick REQUIRED)
11add_subdirectory(Messaging)
12add_subdirectory(Network)
15 ${CMAKE_CURRENT_SOURCE_DIR}
16 ${CMAKE_CURRENT_BINARY_DIR}
17 ${QMENUMODEL_INCLUDE_DIRS}
20set(IndicatorsQML_SOURCES
21 flatmenuproxymodel.cpp
26 menucontentactivator.cpp
29add_definitions(-DUNITYINDICATORS_LIBRARY)
31set(IndicatorsQML_RESOURCES
32 resources/indicators.qrc
35qt5_add_resources(IndicatorsQML_RESOURCES_RCC
36 ${IndicatorsQML_RESOURCES}
39add_library(IndicatorsQml SHARED
40 ${IndicatorsQML_RESOURCES_RCC}
41 ${IndicatorsQML_SOURCES}
44target_link_libraries(IndicatorsQml
48qt5_use_modules(IndicatorsQml Core Qml Quick)
50# export the qmltypes and plugin files
51export_qmlplugin(Unity.Indicators 0.1 Unity/Indicators TARGETS IndicatorsQml)
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list