CMakeLists.txt 2.09 KB
Newer Older
1

Laurent Montel's avatar
Laurent Montel committed
2 3 4
#add_definitions( -DQT_NO_CAST_FROM_ASCII )
#add_definitions( -DQT_NO_CAST_TO_ASCII )

5
include_directories(
6
  ${kdepim-runtime_SOURCE_DIR}/libkdepim-copy
7 8 9
  ${CMAKE_CURRENT_SOURCE_DIR}/shared
  ${CMAKE_CURRENT_BINARY_DIR}/shared
)
10

11
set( AKONADI_SINGLEFILERESOURCE_SHARED_SOURCES
12
  ${CMAKE_CURRENT_SOURCE_DIR}/shared/singlefileresourcebase.cpp
13 14 15
  ${CMAKE_CURRENT_SOURCE_DIR}/shared/singlefileresourceconfigdialogbase.cpp
)

16
if (KDEPIM_MOBILE_UI)
17
set( AKONADI_SINGLEFILERESOURCE_SHARED_UI
18
  ${CMAKE_CURRENT_SOURCE_DIR}/shared/singlefileresourceconfigdialog_mobile.ui
David Jarvie's avatar
David Jarvie committed
19
  ${CMAKE_CURRENT_SOURCE_DIR}/shared/singlefileresourceconfigdialog.ui
20
)
21
else ()
22
set( AKONADI_SINGLEFILERESOURCE_SHARED_UI
23
  ${CMAKE_CURRENT_SOURCE_DIR}/shared/singlefileresourceconfigdialog_desktop.ui
David Jarvie's avatar
David Jarvie committed
24
  ${CMAKE_CURRENT_SOURCE_DIR}/shared/singlefileresourceconfigdialog.ui
25
)
26
endif ()
27

28
set( AKONADI_COLLECTIONATTRIBUTES_SHARED_SOURCES
29
  ${CMAKE_CURRENT_SOURCE_DIR}/shared/collectionannotationsattribute.cpp
30
  ${CMAKE_CURRENT_SOURCE_DIR}/shared/collectionflagsattribute.cpp
31 32
)

33 34
set( AKONADI_IMAPATTRIBUTES_SHARED_SOURCES
  ${CMAKE_CURRENT_SOURCE_DIR}/shared/imapaclattribute.cpp
35
  ${CMAKE_CURRENT_SOURCE_DIR}/shared/imapquotaattribute.cpp
36 37
)

38 39 40 41 42 43 44 45 46 47
#add_subdirectory( akonotes )
#add_subdirectory( kalarm )
#add_subdirectory( contacts )
#macro_optional_add_subdirectory( dav )
#add_subdirectory( ical )
#add_subdirectory( imap )
#macro_optional_add_subdirectory( kdeaccounts )
#if (Libkolab_FOUND AND Libkolabxml_FOUND)
#    macro_optional_add_subdirectory( kolabproxy )
#endif()
Christophe Giboudeaux's avatar
Christophe Giboudeaux committed
48

49
#macro_optional_add_subdirectory( localbookmarks )
Laurent Montel's avatar
Laurent Montel committed
50

51
#add_subdirectory( maildir )
Laurent Montel's avatar
Laurent Montel committed
52

53 54
#macro_optional_add_subdirectory( openxchange )
#add_subdirectory( pop3 )
55

56 57 58
#if( LibKGAPI2_FOUND )
#  add_subdirectory( google )
#endif()
59

60 61 62 63 64 65 66 67 68 69 70 71 72 73
#if( LibKFbAPI_FOUND )
#  add_subdirectory( facebook )
#endif()

#add_subdirectory( shared )
#add_subdirectory( birthdays )
#add_subdirectory( mixedmaildir )
#add_subdirectory( mailtransport_dummy )
#add_subdirectory( mbox )
#add_subdirectory( nntp )
#add_subdirectory( vcarddir )
#add_subdirectory( icaldir )
#add_subdirectory( vcard )
#add_subdirectory( folderarchivesettings )
Martin Klapetek's avatar
Martin Klapetek committed
74