4
find_package(Qt5Core REQUIRED)
5
find_package(Qt5Quick REQUIRED)
7
set(UbuntuGestureQml_SOURCES
9
AxisVelocityCalculator.cpp
10
DirectionalDragArea.cpp
13
add_definitions(-DUBUNTUGESTURES_LIBRARY)
15
add_library(UbuntuGestureQml MODULE ${UbuntuGestureQml_SOURCES})
17
qt5_use_modules(UbuntuGestureQml Core Quick)
19
# copy files into build directory for shadow builds
20
add_custom_target(UbuntuGestureQmlDirFile ALL
21
COMMAND cp "${CMAKE_CURRENT_SOURCE_DIR}/qmldir" ${CMAKE_CURRENT_BINARY_DIR}
25
install(TARGETS UbuntuGestureQml
26
DESTINATION ${SHELL_APP_DIR}/plugins/Ubuntu/Gestures
30
DESTINATION ${SHELL_APP_DIR}/plugins/Ubuntu/Gestures