CMakeLists.txt 542 Bytes
Newer Older
1
set(kaddressbook_domain_SRCS contactgroup.cpp contact.cpp)
Laurent Montel's avatar
Laurent Montel committed
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18

add_library(kaddressbookdomain ${kaddressbook_domain_SRCS})
generate_export_header(kaddressbookdomain BASE_NAME kaddressbookdomain)

target_link_libraries(kaddressbookdomain
    PRIVATE
    Qt5::Core
    )


set_target_properties(kaddressbookdomain
    PROPERTIES VERSION ${KDEPIM_LIB_VERSION} SOVERSION ${KDEPIM_LIB_SOVERSION}
    )

# Don't install it yet
#install(TARGETS kaddressbookdomain ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP)

Laurent Montel's avatar
Laurent Montel committed
19
add_subdirectory(autotests)