~unity-api-team/storage-framework/vivid

« back to all changes in this revision

Viewing changes to src/qt/client/internal/local_client/CMakeLists.txt

  • Committer: Michi Henning
  • Date: 2016-07-11 05:44:31 UTC
  • mfrom: (8.10.31 decltype)
  • mto: (8.1.15 devel)
  • mto: This revision was merged to the branch mainline in revision 9.
  • Revision ID: michi.henning@canonical.com-20160711054431-jj23l6adsm7367b7
Merged decltype branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
set(QT_LOCAL_CLIENT_LIB_INTERNAL_SRC
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}/Runtime_create.cpp
9
 
    ${CMAKE_CURRENT_SOURCE_DIR}/RuntimeImpl.cpp
10
 
    ${CMAKE_CURRENT_SOURCE_DIR}/UploaderImpl.cpp
 
1
add_library(qt-client-lib-local OBJECT
 
2
    AccountImpl.cpp
 
3
    DownloaderImpl.cpp
 
4
    FileImpl.cpp
 
5
    FolderImpl.cpp
 
6
    ItemImpl.cpp
 
7
    RootImpl.cpp
 
8
    Runtime_create.cpp
 
9
    RuntimeImpl.cpp
 
10
    UploaderImpl.cpp
11
11
    ${CMAKE_SOURCE_DIR}/include/unity/storage/qt/client/internal/local_client/DownloaderImpl.h
12
12
    ${CMAKE_SOURCE_DIR}/include/unity/storage/qt/client/internal/local_client/UploaderImpl.h
13
13
    ${CMAKE_SOURCE_DIR}/include/unity/storage/qt/client/internal/local_client/RuntimeImpl.h
14
14
    ${CMAKE_SOURCE_DIR}/include/unity/storage/qt/client/internal/RuntimeBase.h
15
15
)
16
 
 
17
 
include_directories(${GLIB_DEPS_INCLUDE_DIRS})
18
 
 
19
 
add_library(storage-framework-qt-local-client SHARED
20
 
    $<TARGET_OBJECTS:qt-client-lib-public>
21
 
    ${QT_LOCAL_CLIENT_LIB_INTERNAL_SRC})
22
 
qt5_use_modules(storage-framework-qt-local-client Concurrent Core Network)
23
 
set_target_properties(storage-framework-qt-local-client PROPERTIES AUTOMOC TRUE)
24
 
set_target_properties(storage-framework-qt-local-client PROPERTIES LINK_FLAGS "-Wl,--no-undefined")
25
 
target_link_libraries(storage-framework-qt-local-client
26
 
    Qt5::Concurrent
27
 
    Qt5::Core
28
 
    Qt5::Network
29
 
    ${Boost_LIBRARIES}
30
 
    ${GLIB_DEPS_LIBRARIES})
 
16
target_include_directories(qt-client-lib-local PRIVATE
 
17
  ${GLIB_DEPS_INCLUDE_DIRS}
 
18
  ${Qt5Core_INCLUDE_DIRS}
 
19
  ${Qt5Network_INCLUDE_DIRS}
 
20
  ${Qt5Concurrent_INCLUDE_DIRS})
 
21
set_target_properties(qt-client-lib-local PROPERTIES
 
22
  AUTOMOC TRUE
 
23
  POSITION_INDEPENDENT_CODE TRUE
 
24
)