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(Messaging)
16add_subdirectory(Network)
19 ${CMAKE_CURRENT_SOURCE_DIR}
20 ${CMAKE_CURRENT_BINARY_DIR}
23 ${QMENUMODEL_INCLUDE_DIRS}
24 ${LIBUPSTART_INCLUDE_DIRS}
27set(IndicatorsQML_SOURCES
32 menucontentactivator.cpp
36 unitymenumodelcache.cpp
37 unitymenumodelstack.cpp
38 visibleindicatorsmodel.cpp
41add_definitions(-DUNITYINDICATORS_LIBRARY)
43set(IndicatorsQML_RESOURCES
44 resources/indicators.qrc
47qt5_add_resources(IndicatorsQML_RESOURCES_RCC
48 ${IndicatorsQML_RESOURCES}
51add_library(IndicatorsQml SHARED
52 ${IndicatorsQML_RESOURCES_RCC}
53 ${IndicatorsQML_SOURCES}
56target_link_libraries(IndicatorsQml
60 ${LIBUPSTART_LIBRARIES}
63qt5_use_modules(IndicatorsQml Core Qml Quick)
65# export the qmltypes and plugin files
66export_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