The concept of local folders doesn't apply any more.
[kdepim.git] / importwizard / CMakeLists.txt
blob7779d285546d88db5a9334f20c75767520adc9df
1 project(importwizard)
3 set(importwizard_SRCS
4 importwizardkernel.cpp
5 selectprogrampage.cpp
6 importaddressbookpage.cpp
7 importfilterpage.cpp
8 importmailpage.cpp
9 importsettingpage.cpp
10 importwizard.cpp
11 importfinishpage.cpp
12 main.cpp
13 abstractimporter.cpp
14 selectcomponentpage.cpp
15 importfilterinfogui.cpp
16 abstractsettings.cpp
17 abstractaddressbook.cpp
18 thunderbird/thunderbirdimportdata.cpp
19 thunderbird/thunderbirdsettings.cpp
20 sylpheed/sylpheedimportdata.cpp
21 sylpheed/sylpheedsettings.cpp
22 sylpheed/sylpheedaddressbook.cpp
23 evolutionv3/evolutionv3importdata.cpp
24 evolutionv3/evolutionsettings.cpp
25 evolutionv2/evolutionv2importdata.cpp
26 evolutionv1/evolutionv1importdata.cpp
27 opera/operaimportdata.cpp
28 oe/oeimportdata.cpp
29 mailapp/mailappimportdata.cpp
30 pmail/pmailimportdata.cpp
31 thebat/thebatimportdata.cpp
34 include_directories(${CMAKE_SOURCE_DIR}/mailimporter ${CMAKE_SOURCE_DIR}/mailcommon ${SOPRANO_INCLUDE_DIR})
35 set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}" )
37 kde4_add_ui_files(importwizard_SRCS 
38                   ui/selectprogrampage.ui
39                   ui/importaddressbookpage.ui
40                   ui/importfilterpage.ui
41                   ui/importmailpage.ui
42                   ui/importsettingpage.ui
43                   ui/selectcomponentpage.ui 
44                   ui/importfinishpage.ui )
46 kde4_add_executable(importwizard ${importwizard_SRCS})
48 target_link_libraries(importwizard
49   ${KDE4_KIO_LIBS}
50   ${KDEPIMLIBS_AKONADI_LIBS}
51   ${KDEPIMLIBS_AKONADI_KMIME_LIBS}
52   ${KDEPIMLIBS_KMIME_LIBS}
53   ${KDEPIMLIBS_KPIMUTILS_LIBS}
54   ${KDEPIMLIBS_MAILTRANSPORT_LIBS}
55   mailimporter
56   mailcommon
57   kdepim
58   messagecomposer
61 install(TARGETS importwizard  ${INSTALL_TARGETS_DEFAULT_ARGS} )
62 install(PROGRAMS importwizard.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})