~michihenning/storage-framework/no-boost-with-remote-client

10.1.5 by Michi Henning
Complete libs for qt and qt-local client lib.
1
set(QT_LOCAL_CLIENT_LIB_INTERNAL_SRC
10.1.2 by Michi Henning
Adjusted API to match DBus side.
2
    ${CMAKE_CURRENT_SOURCE_DIR}/AccountImpl.cpp
3
    ${CMAKE_CURRENT_SOURCE_DIR}/DownloaderImpl.cpp
4
    ${CMAKE_CURRENT_SOURCE_DIR}/FileImpl.cpp
5
    ${CMAKE_CURRENT_SOURCE_DIR}/FolderImpl.cpp
6
    ${CMAKE_CURRENT_SOURCE_DIR}/ItemImpl.cpp
7
    ${CMAKE_CURRENT_SOURCE_DIR}/RootImpl.cpp
8
    ${CMAKE_CURRENT_SOURCE_DIR}/RuntimeImpl.cpp
9
    ${CMAKE_CURRENT_SOURCE_DIR}/UploaderImpl.cpp
10.1.8 by Michi Henning
Download implemented, superficially tested.
10
    ${CMAKE_SOURCE_DIR}/include/unity/storage/qt/client/internal/DownloaderImpl.h
10.1.9 by Michi Henning
Added uploader implementation. Not tested yet.
11
    ${CMAKE_SOURCE_DIR}/include/unity/storage/qt/client/internal/UploaderImpl.h
10.1.2 by Michi Henning
Adjusted API to match DBus side.
12
)
13
14
include_directories(${GLIB_DEPS_INCLUDE_DIRS})
15
10.1.6 by Michi Henning
More fleshing out of the local client implementation.
16
add_library(storage-framework-qt-local-client SHARED
17
    $<TARGET_OBJECTS:qt-client-lib-public>
18
    ${QT_LOCAL_CLIENT_LIB_INTERNAL_SRC})
19
qt5_use_modules(storage-framework-qt-local-client Concurrent Core Network)
10.1.8 by Michi Henning
Download implemented, superficially tested.
20
set_target_properties(storage-framework-qt-local-client PROPERTIES AUTOMOC TRUE)
10.3.3 by Michi Henning
Fixed incorrect library dependencies. Added -Wl,--no-undefined when building .so.
21
set_target_properties(storage-framework-qt-local-client PROPERTIES LINK_FLAGS "-Wl,--no-undefined")
22
target_link_libraries(storage-framework-qt-local-client
23
    Qt5::Concurrent
24
    Qt5::Core
25
    Qt5::Network
26
    ${Boost_LIBRARIES}
27
    ${GLIB_DEPS_LIBRARIES})