CMakeLists.txt 2.2 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
add_subdirectory( akonotes )
39
add_subdirectory( kalarm )
40
add_subdirectory( contacts )
41
macro_optional_add_subdirectory( dav )
42
add_subdirectory( ical )
43
add_subdirectory( imap )
44
if (KDEPIMLIBS_KRESOURCES_LIBS)
Volker Krause's avatar
Volker Krause committed
45 46
  add_subdirectory( kabc )
  add_subdirectory( kcal )
Christophe Giboudeaux's avatar
Christophe Giboudeaux committed
47
endif()
48
macro_optional_add_subdirectory( kdeaccounts )
Christophe Giboudeaux's avatar
Christophe Giboudeaux committed
49
if (Libkolab_FOUND AND Libkolabxml_FOUND)
50
    macro_optional_add_subdirectory( kolabproxy )
Laurent Montel's avatar
Laurent Montel committed
51
    add_subdirectory( kolab )
Christophe Giboudeaux's avatar
Christophe Giboudeaux committed
52 53
endif()

54
macro_optional_add_subdirectory( localbookmarks )
Laurent Montel's avatar
Laurent Montel committed
55

56
add_subdirectory( maildir )
Laurent Montel's avatar
Laurent Montel committed
57

58
macro_optional_add_subdirectory( openxchange )
Thomas McGuire's avatar
Thomas McGuire committed
59
add_subdirectory( pop3 )
60

61
if( LibKGAPI2_FOUND )
62
  add_subdirectory( google )
63
  add_subdirectory( gmail )
64
endif()
65

Martin Klapetek's avatar
Martin Klapetek committed
66 67 68 69
if( LibKFbAPI_FOUND )
  add_subdirectory( facebook )
endif()

Laurent Montel's avatar
Laurent Montel committed
70
add_subdirectory( shared )
71 72 73 74 75 76 77
add_subdirectory( birthdays )
add_subdirectory( mixedmaildir )
add_subdirectory( mailtransport_dummy )
add_subdirectory( mbox )
add_subdirectory( nntp )
add_subdirectory( vcarddir )
add_subdirectory( icaldir )
78
add_subdirectory( vcard )
79
add_subdirectory( folderarchivesettings )