add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
include_directories (${CMAKE_SOURCE_DIR}/akonadi ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${KDE4_INCLUDES} ${QT_QTDBUS_INCLUDE_DIR})

# include (ConfigureChecks.cmake)
# configure_file (config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h)

add_subdirectory(kabc)
add_subdirectory(kcal)

add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
include_directories (${CMAKE_SOURCE_DIR}/akonadi ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${KDE4_INCLUDES} ${QT_QTDBUS_INCLUDE_DIR})

# include (ConfigureChecks.cmake)
# configure_file (config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h)

include_directories(
  ${CMAKE_CURRENT_SOURCE_DIR}/shared
  ${CMAKE_CURRENT_BINARY_DIR}/shared
)

set( RESOURCE_AKONADI_SHARED_SOURCES
  ${CMAKE_CURRENT_SOURCE_DIR}/shared/abstractsubresourcemodel.cpp
  ${CMAKE_CURRENT_SOURCE_DIR}/shared/concurrentjobs.cpp
  ${CMAKE_CURRENT_SOURCE_DIR}/shared/itemfetchadapter.cpp
  ${CMAKE_CURRENT_SOURCE_DIR}/shared/itemsavejob.cpp
  ${CMAKE_CURRENT_SOURCE_DIR}/shared/resourceprivatebase.cpp
  ${CMAKE_CURRENT_SOURCE_DIR}/shared/subresourcebase.cpp
)

add_subdirectory(kabc)
add_subdirectory(kcal)

Make the shared code accessible
Make the shared code accessible

svn path=/trunk/KDE/kdepim/; revision=941143
