4
find_package(Qt5Core REQUIRED)
5
find_package(Qt5Quick REQUIRED)
7
set(FakeUbuntuApplicationQml_SOURCES
11
ApplicationListModel.cpp
12
ApplicationManager.cpp
15
add_library(FakeUbuntuApplicationQml MODULE ${FakeUbuntuApplicationQml_SOURCES})
17
qt5_use_modules(FakeUbuntuApplicationQml Core Quick)
19
# copy files into build directory for shadow builds
20
add_custom_target(UbuntuAppQmlDirFile ALL
21
COMMAND cp "${CMAKE_CURRENT_SOURCE_DIR}/qmldir" ${CMAKE_CURRENT_BINARY_DIR}
24
add_custom_target(InputFilterAreaQmlFile ALL
25
COMMAND cp "${CMAKE_CURRENT_SOURCE_DIR}/InputFilterArea.qml" ${CMAKE_CURRENT_BINARY_DIR}
26
DEPENDS InputFilterArea.qml
29
install(TARGETS FakeUbuntuApplicationQml
30
DESTINATION ${SHELL_APP_DIR}/plugins/mocks/Ubuntu/Application
33
install(FILES qmldir InputFilterArea.qml
34
DESTINATION ${SHELL_APP_DIR}/plugins/mocks/Ubuntu/Application