on ee2a11f help sign in
unity8/plugins/WindowManager/CMakeLists.txt
26 lines 897 B history raw
1set(WINDOWMANAGER_SRC
2 AvailableDesktopArea.cpp
3 TopLevelWindowModel.cpp
4 Window.cpp
5 WindowManagerPlugin.cpp
6 WindowMargins.cpp
7 InputMethodManager.cpp
8 ${APPLICATION_API_INCLUDEDIR}/unity/shell/application/ApplicationInfoInterface.h
9 ${APPLICATION_API_INCLUDEDIR}/unity/shell/application/Mir.h
10 ${APPLICATION_API_INCLUDEDIR}/unity/shell/application/MirSurfaceInterface.h
11 ${APPLICATION_API_INCLUDEDIR}/unity/shell/application/MirSurfaceListInterface.h
12 ${APPLICATION_API_INCLUDEDIR}/unity/shell/application/SurfaceManagerInterface.h
13 )
15add_definitions(-DWINDOWMANAGERQML_LIBRARY)
17include_directories(
18 SYSTEM
19 ${Qt5Gui_PRIVATE_INCLUDE_DIRS}
22add_library(windowmanager-qml SHARED ${WINDOWMANAGER_SRC})
24target_link_libraries(windowmanager-qml Qt5::Qml Qt5::Quick Qt5::Gui)
26add_unity8_plugin(WindowManager 0.1 WindowManager TARGETS windowmanager-qml)