~ci-train-bot/history-service/history-service-ubuntu-zesty-2629

« back to all changes in this revision

Viewing changes to historyprivate/CMakeLists.txt

Move the classes from historyprivate static library to libhistoryservice itself and just keep their header files private.
Approved by: Tiago Salem Herrmann, PS Jenkins bot

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
set(library_SRCS
2
 
    channelobserver.cpp
3
 
    contactmatcher.cpp
4
 
    telepathyhelper.cpp
5
 
    utils.cpp
6
 
    )
7
 
 
8
 
set(library_HDRS
9
 
    channelobserver_p.h
10
 
    contactmatcher_p.h
11
 
    telepathyhelper_p.h
12
 
    utils_p.h
13
 
    )
14
 
 
15
 
include_directories(
16
 
    ${TP_QT5_INCLUDE_DIRS}
17
 
    ${CMAKE_SOURCE_DIR}/src
18
 
    )
19
 
 
20
 
add_library(historyprivate STATIC ${library_SRCS} ${library_HDRS})
21
 
target_link_libraries(historyprivate ${TP_QT5_LIBRARIES})
22
 
qt5_use_modules(historyprivate Contacts Core DBus)