CMakeLists.txt 1.85 KB
Newer Older
1

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 17
set( AKONADI_COLLECTIONATTRIBUTES_SHARED_SOURCES
  ${CMAKE_CURRENT_SOURCE_DIR}/shared/collectionflagsattribute.cpp
18
  ${CMAKE_CURRENT_SOURCE_DIR}/shared/collectionannotationsattribute.cpp
19 20
)

21 22
set( AKONADI_IMAPATTRIBUTES_SHARED_SOURCES
  ${CMAKE_CURRENT_SOURCE_DIR}/shared/imapaclattribute.cpp
23
  ${CMAKE_CURRENT_SOURCE_DIR}/shared/imapquotaattribute.cpp
24 25
)

26
if ( XSLTPROC_EXECUTABLE )
27 28
  add_subdirectory( birthdays )
  add_subdirectory( distlist )
29
  add_subdirectory( ical )
30 31 32 33 34 35
  add_subdirectory( imap ) # REQ: libkdepim
  add_subdirectory( kabc )
  add_subdirectory( kcal )
  add_subdirectory( knut )
  add_subdirectory( kolabproxy ) # REQ: libkdepim/distributionlist.h
  add_subdirectory( localbookmarks )
36
  add_subdirectory( maildir )
37 38 39 40 41 42 43
  add_subdirectory( mbox )
  add_subdirectory( microblog )

  if ( NEPOMUK_FOUND )
    add_subdirectory( nepomuktag )
  endif ( NEPOMUK_FOUND )

44
  add_subdirectory( nntp )
45
  add_subdirectory( vcard )
46
  add_subdirectory( vcarddir )
47

48
endif( XSLTPROC_EXECUTABLE )
49

50
#This is experimental and probably experiencing bit-rot.
51
#Also, there is a GSoC project for it.
52
#So, comment out for now -- talk to Brad Hards <bradh@frogmouth.net> for more info.
53 54 55 56 57 58 59 60 61
#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)