on bb09f86 help sign in
unity8/plugins/Utils/CMakeLists.txt
56 lines 1.7 kB history raw
1include_directories(
2 ${CMAKE_CURRENT_SOURCE_DIR}
3 ${CMAKE_CURRENT_BINARY_DIR}
4)
6include_directories(
7 SYSTEM
8 ${Qt5Gui_PRIVATE_INCLUDE_DIRS}
9 ${Qt5Quick_PRIVATE_INCLUDE_DIRS}
10 ${GIO_INCLUDE_DIRS}
13set(QMLPLUGIN_SRC
14 activefocuslogger.cpp
15 ${APPLICATION_API_INCLUDEDIR}/unity/shell/application/ApplicationManagerInterface.h
16 ${APPLICATION_API_INCLUDEDIR}/unity/shell/application/ApplicationInfoInterface.h
17 applicationsfiltermodel.cpp
18 ${LAUNCHER_API_INCLUDEDIR}/unity/shell/launcher/AppDrawerModelInterface.h
19 ${LAUNCHER_API_INCLUDEDIR}/unity/shell/launcher/LauncherItemInterface.h
20 ${LAUNCHER_API_INCLUDEDIR}/unity/shell/launcher/LauncherModelInterface.h
21 appdrawerproxymodel.cpp
22 constants.cpp
23 WindowInputMonitor.cpp
24 inputwatcher.cpp
25 qlimitproxymodelqml.cpp
26 unitysortfilterproxymodelqml.cpp
27 Timer.cpp
28 unitymenumodelpaths.cpp
29 windowinputfilter.cpp
30 easingcurve.cpp
31 windowstatestorage.cpp
32 timezoneFormatter.cpp
33 inputeventgenerator.cpp
34 deviceconfigparser.cpp
35 globalfunctions.cpp
36 URLDispatcher.cpp
37 tabfocusfence.cpp
38 expressionfiltermodel.cpp
39 plugin.cpp
40 )
42add_library(Utils-qml SHARED
43 ${QMLPLUGIN_SRC}
44 )
46target_link_libraries(Utils-qml ${GIO_LDFLAGS})
48# Because this is an internal support library, we want
49# to expose all symbols in it. Consider changing this
50# either to a static library or just using the
51# files directly in targets.
52set_target_properties(Utils-qml PROPERTIES COMPILE_FLAGS -fvisibility=default)
54qt5_use_modules(Utils-qml Qml Quick DBus Network Gui Sql Concurrent)
56add_unity8_plugin(Utils 0.1 Utils TARGETS Utils-qml)