CMakeLists.txt 1006 Bytes
Newer Older
1

Tom Albers's avatar
Tom Albers committed
2
set(kpimidentities_LIB_SRCS identitymanager.cpp identity.cpp signature.cpp signatureconfigurator.cpp identitycombo.cpp)
3

4
add_subdirectory( tests )
5

6
qt4_add_dbus_adaptor(kpimidentities_LIB_SRCS org.kde.pim.IdentityManager.xml identitymanager.h KPIMIdentities::IdentityManager )
7

8
kde4_add_library(kpimidentities ${LIBRARY_TYPE} ${kpimidentities_LIB_SRCS})
9

10
target_link_libraries(kpimidentities ${QT_AND_KDECORE_LIBS}  kpimutils ${KDE4_KIO_LIBS} kpimtextedit )
11

Allen Winter's avatar
Allen Winter committed
12
set_target_properties(kpimidentities PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION} )
13
install(TARGETS kpimidentities EXPORT kdepimlibsLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS})
14

15
install(FILES org.kde.pim.IdentityManager.xml DESTINATION ${DBUS_INTERFACES_INSTALL_DIR})
16
17
install(FILES
        identity.h
18
        signature.h
Tom Albers's avatar
Tom Albers committed
19
        signatureconfigurator.h
20
21
        identitymanager.h
        identitycombo.h
22
        kpimidentities_export.h
23
        DESTINATION ${INCLUDE_INSTALL_DIR}/kpimidentities COMPONENT Devel)
24