add more spacing
[personal-kdebase.git] / apps / CMakeLists.txt
blobff452ddce94a2747c5e8fd61387fc42613da1477
1 project(KDEBASE_APPS)
3 # where to look first for cmake modules, before ${CMAKE_ROOT}/Modules/ is checked
4 set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules )
6 #search packages used by KDE
7 find_package(KDE4 REQUIRED)
8 find_package(Strigi REQUIRED)
9 find_package(ZLIB REQUIRED)
10 include (KDE4Defaults)
11 include (MacroLibrary)
13 include(ConfigureChecks.cmake)
14 configure_file (config-apps.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-apps.h )
15 include_directories (${CMAKE_CURRENT_BINARY_DIR})
17 add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
18 include_directories (${CMAKE_CURRENT_SOURCE_DIR}/lib/konq ${CMAKE_BINARY_DIR} ${KDE4_INCLUDES})
20 add_subdirectory( lib )
21 add_subdirectory( dolphin )
22 add_subdirectory( kwrite )
23 add_subdirectory( kdialog )
24 add_subdirectory( keditbookmarks )
25 add_subdirectory( konqueror )
26 add_subdirectory( kfind )
27 add_subdirectory( kappfinder )
28 add_subdirectory( plasma )
30 if ( Q_WS_MAC )
31   add_subdirectory( konsole )
32   add_subdirectory( kdepasswd )
33 endif ( Q_WS_MAC )
35 if ( Q_WS_X11 )
36   add_subdirectory( kinfocenter )
37   add_subdirectory( nsplugins )
38   add_subdirectory( konsole )
39   add_subdirectory( kdepasswd )
40 endif ( Q_WS_X11 )
41 macro_optional_add_subdirectory( doc )
43 if(CMAKE_SOURCE_DIR STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
44     macro_display_feature_log()
45 endif(CMAKE_SOURCE_DIR STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")