summaryrefslogtreecommitdiff
path: root/kabc/vcardparser/CMakeLists.txt
blob: 7d0ed2a106d61e9691429e023d872a8742370564 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
set( EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR} )

include_directories( ${CMAKE_SOURCE_DIR}/kabc )


########### next target ###############


########### next target ###############

set(testread_SRCS testread.cpp )


add_executable(testread TEST ${testread_SRCS})

target_link_libraries(testread  ${KDE4_KDECORE_LIBS} kabc )

########### next target ###############

set(testwrite_SRCS testwrite.cpp )


add_executable(testwrite TEST ${testwrite_SRCS})

target_link_libraries(testwrite  ${KDE4_KDECORE_LIBS} ${KDE4_KDEUI_LIBS} kabc )

########### next target ###############

set(testread2_SRCS testread2.cpp testutils.cpp )


add_executable(testread2 TEST ${testread2_SRCS})

target_link_libraries(testread2  ${KDE4_KDECORE_LIBS} kabc )


########### install files ###############
install( FILES vcard.h vcardline.h vcardparser.h DESTINATION ${INCLUDE_INSTALL_DIR}/kabc COMPONENT Devel)