1# export_qmlplugin macro
6pkg_check_modules(GLIB REQUIRED glib-2.0>=2.32)
7pkg_check_modules(GIO REQUIRED gio-2.0>=2.32)
8pkg_check_modules(QMENUMODEL REQUIRED qmenumodel)
9pkg_check_modules(LIBUPSTART REQUIRED libupstart libnih libnih-dbus dbus-1)
11find_package(Qt5Core REQUIRED)
12find_package(Qt5Quick REQUIRED)
15add_subdirectory(Network)
18 ${CMAKE_CURRENT_SOURCE_DIR}
19 ${CMAKE_CURRENT_BINARY_DIR}
22 ${QMENUMODEL_INCLUDE_DIRS}
23 ${LIBUPSTART_INCLUDE_DIRS}
26set(IndicatorsQML_SOURCES
31 menucontentactivator.cpp
35 unitymenumodelcache.cpp
36 unitymenumodelstack.cpp
37 visibleindicatorsmodel.cpp
39add_definitions(-DUNITYINDICATORS_LIBRARY)
41set(IndicatorsQML_RESOURCES
42 resources/indicators.qrc
45qt5_add_resources(IndicatorsQML_RESOURCES_RCC
46 ${IndicatorsQML_RESOURCES}
49add_library(IndicatorsQml SHARED
50 ${IndicatorsQML_RESOURCES_RCC}
51 ${IndicatorsQML_SOURCES}
54target_link_libraries(IndicatorsQml
58 ${LIBUPSTART_LIBRARIES}
61qt5_use_modules(IndicatorsQml Core Qml Quick)
63# export the qmltypes and plugin files
64export_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