on master help sign in
unity8/src/Dash/CMakeLists.txt
29 lines 816 B history raw
1set(DASH_SRCS
2 main.cpp
3 ../CachingNetworkManagerFactory.cpp
4 ../UnixSignalHandler.cpp
5)
7if (ENABLE_TOUCH_EMULATION)
8 set(DASH_SRCS ${DASH_SRCS} ../MouseTouchAdaptor.cpp)
9endif()
11add_executable(unity8-dash ${DASH_SRCS})
13qt5_use_modules(unity8-dash DBus Gui Qml Quick Test)
15# For it to find libUbuntuGestures.so, needed by Ubuntu.Gestures QML module.
16set_target_properties(unity8-dash PROPERTIES INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/${SHELL_PRIVATE_LIBDIR}")
18target_link_libraries(unity8-dash UbuntuGestures connectivity-qt1)
20if (ENABLE_TOUCH_EMULATION)
21 target_link_libraries(unity8-dash ${MOUSETOUCHADAPTOR_LIBS_LDFLAGS})
22endif()
24set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden")
26# install binaries
27install(TARGETS ${DASH_APP}
28 RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}