CMakeLists.txt 1.38 KB
Newer Older
1
macro_optional_find_package(LibXml2)
2 3 4 5
include_directories(
  ${CMAKE_CURRENT_SOURCE_DIR}/shared
  ${CMAKE_CURRENT_BINARY_DIR}/shared
)
6

7
set( AKONADI_SINGLEFILERESOURCE_SHARED_SOURCES
8
  ${CMAKE_CURRENT_SOURCE_DIR}/shared/singlefileresourcebase.cpp
9 10 11 12 13
  ${CMAKE_CURRENT_SOURCE_DIR}/shared/singlefileresourceconfigdialogbase.cpp
)

set( AKONADI_SINGLEFILERESOURCE_SHARED_UI
  ${CMAKE_CURRENT_SOURCE_DIR}/shared/singlefileresourceconfigdialog.ui
14 15
)

16
if ( XSLTPROC_EXECUTABLE )
17 18 19
  if(LIBXML2_FOUND)
    add_subdirectory( knut )
  endif(LIBXML2_FOUND)
20
  add_subdirectory( ical )
21
  add_subdirectory( maildir )
22
  add_subdirectory( nntp )
23
  add_subdirectory( vcard )
24
  add_subdirectory( vcarddir )
25 26 27 28
  add_subdirectory( localbookmarks )
  add_subdirectory( kabc )
  add_subdirectory( kcal )
  add_subdirectory( imap )
29
  add_subdirectory( nepomuktag )
30
  add_subdirectory( distlist )
31
  add_subdirectory(birthdays)
32
endif( XSLTPROC_EXECUTABLE )
33

34
#This is experimental and probably experiencing bit-rot.
35
#Also, there is a GSoC project for it.
36
#So, comment out for now -- talk to Brad Hards <bradh@frogmouth.net> for more info.
37 38 39 40 41 42 43 44 45
#if(UNIX)
#   macro_optional_find_package(OpenChange)
#   macro_log_feature(LIBMAPI_FOUND "libmapi" "OpenChange MAPI Client Library" "http://www.openchange.org" FALSE "" "Needed to support OpenChange / Exchange servers")
#
#if(LIBMAPI_FOUND)
#  add_subdirectory(openchange)
#endif(LIBMAPI_FOUND)
#
#endif(UNIX)