2
${CMAKE_CURRENT_SOURCE_DIR}
7
modules/Podbird/backend.cpp
8
modules/Podbird/filemanager.cpp
11
add_library(Podbirdbackend MODULE
12
${Podbirdbackend_SRCS}
15
set_target_properties(Podbirdbackend PROPERTIES
16
LIBRARY_OUTPUT_DIRECTORY Podbird)
18
qt5_use_modules(Podbirdbackend Gui Qml Quick)
20
# Copy qmldir file to build dir for running in QtCreator
21
add_custom_target(Podbirdbackend-qmldir ALL
22
COMMAND cp ${CMAKE_CURRENT_SOURCE_DIR}/modules/Podbird/qmldir ${CMAKE_CURRENT_BINARY_DIR}/Podbird
27
install(TARGETS Podbirdbackend DESTINATION ${QT_IMPORTS_DIR}/Podbird/)
28
install(FILES modules/Podbird/qmldir DESTINATION ${QT_IMPORTS_DIR}/Podbird/)