on fdefead help sign in
unity8/plugins/Utils/CMakeLists.txt
43 lines 1.2 kB history raw
1include_directories(
2 ${CMAKE_CURRENT_SOURCE_DIR}
3 ${CMAKE_CURRENT_BINARY_DIR}
4 ${Qt5Gui_PRIVATE_INCLUDE_DIRS}
5 ${Qt5Quick_PRIVATE_INCLUDE_DIRS}
6 ${GIO_INCLUDE_DIRS}
7)
9set(QMLPLUGIN_SRC
10 activefocuslogger.cpp
11 ${APPLICATION_API_INCLUDEDIR}/unity/shell/application/ApplicationManagerInterface.h
12 applicationsfiltermodel.cpp
13 constants.cpp
14 WindowInputMonitor.cpp
15 inputwatcher.cpp
16 qlimitproxymodelqml.cpp
17 unitysortfilterproxymodelqml.cpp
18 Timer.cpp
19 unitymenumodelpaths.cpp
20 windowkeysfilter.cpp
21 windowscreenshotprovider.cpp
22 easingcurve.cpp
23 windowstatestorage.cpp
24 timezoneFormatter.cpp
25 inputeventgenerator.cpp
26 plugin.cpp
27 )
29add_library(Utils-qml SHARED
30 ${QMLPLUGIN_SRC}
31 )
33target_link_libraries(Utils-qml ${GIO_LDFLAGS})
35# Because this is an internal support library, we want
36# to expose all symbols in it. Consider changing this
37# either to a static library or just using the
38# files directly in targets.
39set_target_properties(Utils-qml PROPERTIES COMPILE_FLAGS -fvisibility=default)
41qt5_use_modules(Utils-qml Qml Quick DBus Network Gui Sql Concurrent)
43add_unity8_plugin(Utils 0.1 Utils TARGETS Utils-qml)