|
|
|
|
|
|
|
include_directories(
|
|
|
|
${CMAKE_BINARY_DIR}
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
|
|
${CMAKE_SOURCE_DIR}/lib
|
|
|
|
${TDE_INCLUDE_DIR}
|
|
|
|
${TQT_INCLUDE_DIRS}
|
|
|
|
)
|
|
|
|
|
|
|
|
link_directories(
|
|
|
|
${TQT_LIBRARY_DIRS}
|
|
|
|
)
|
|
|
|
|
|
|
|
tde_import( libkmime )
|
|
|
|
tde_import( ktnef )
|
|
|
|
tde_import( libkcal )
|
|
|
|
|
|
|
|
|
|
|
|
##### vcalconduit (static) ######################
|
|
|
|
|
|
|
|
tde_add_library( vcalconduit STATIC_PIC AUTOMOC
|
|
|
|
SOURCES vcalconduitSettings.kcfgc korganizerConduit.ui
|
|
|
|
kcalRecord.cc vcal-setupbase.cc vcal-conduitbase.cc
|
|
|
|
cleanupstate.cc deleteunsyncedhhstate.cc
|
|
|
|
deleteunsyncedpcstate.cc hhtopcstate.cc
|
|
|
|
initstate.cc pctohhstate.cc teststate.cc
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
##### conduit_vcal (kpart) ######################
|
|
|
|
|
|
|
|
tde_add_kpart( conduit_vcal AUTOMOC
|
|
|
|
SOURCES vcal-conduit.cc vcalRecord.cc vcal-factory.cc vcal-setup.cc
|
|
|
|
LINK kpilot-shared kcal-shared tderesources-shared vcalconduit-static
|
|
|
|
DESTINATION ${PLUGIN_INSTALL_DIR}
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
##### conduit_todo (kpart) ######################
|
|
|
|
|
|
|
|
tde_add_kpart( conduit_todo AUTOMOC
|
|
|
|
SOURCES todo-conduit.cc todoRecord.cc todo-factory.cc todo-setup.cc
|
|
|
|
LINK kpilot-shared kcal-shared tderesources-shared vcalconduit-static
|
|
|
|
DESTINATION ${PLUGIN_INSTALL_DIR}
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
##### other data ################################
|
|
|
|
|
|
|
|
install( FILES vcal-conduit.desktop todo-conduit.desktop
|
|
|
|
DESTINATION ${SERVICES_INSTALL_DIR}
|
|
|
|
)
|
|
|
|
|
|
|
|
install( FILES vcalconduitbase.kcfg
|
|
|
|
DESTINATION ${KCFG_INSTALL_DIR}
|
|
|
|
)
|