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
40add_definitions(-DUNITYINDICATORS_LIBRARY)
42set(IndicatorsQML_RESOURCES
43 resources/indicators.qrc
46qt5_add_resources(IndicatorsQML_RESOURCES_RCC
47 ${IndicatorsQML_RESOURCES}
50add_library(IndicatorsQml SHARED
51 ${IndicatorsQML_RESOURCES_RCC}
52 ${IndicatorsQML_SOURCES}
55target_link_libraries(IndicatorsQml
59 ${LIBUPSTART_LIBRARIES}
62qt5_use_modules(IndicatorsQml Core Qml Quick)
64# export the qmltypes and plugin files
65export_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