~ubuntu-branches/ubuntu/lucid/kdebase/lucid

1.1.13 by Jonathan Riddell
Import upstream version 4.0.80
1
project(KDEBASE_APPS)
2
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 )
5
6
#search packages used by KDE
1.1.42 by Alessandro Ghersi
Import upstream version 4.4.2
7
set(KDE_MIN_VERSION "4.4.2")
8
find_package(KDE4 4.4.2 REQUIRED)
1.1.13 by Jonathan Riddell
Import upstream version 4.0.80
9
find_package(Strigi REQUIRED)
1.1.14 by Jonathan Riddell
Import upstream version 4.0.83
10
find_package(ZLIB REQUIRED)
1.1.13 by Jonathan Riddell
Import upstream version 4.0.80
11
include (KDE4Defaults)
12
include (MacroLibrary)
13
14
include(ConfigureChecks.cmake)
15
configure_file (config-apps.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-apps.h )
16
include_directories (${CMAKE_CURRENT_BINARY_DIR})
17
18
add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
19
include_directories (${CMAKE_CURRENT_SOURCE_DIR}/lib/konq ${CMAKE_BINARY_DIR} ${KDE4_INCLUDES})
20
21
add_subdirectory( lib )
22
add_subdirectory( dolphin )
23
add_subdirectory( kwrite )
24
add_subdirectory( kdialog )
25
add_subdirectory( keditbookmarks )
26
add_subdirectory( konqueror )
27
add_subdirectory( kfind )
28
add_subdirectory( kappfinder )
1.1.22 by Steve Stalcup
Import upstream version 4.1.96
29
add_subdirectory( plasma )
1.1.13 by Jonathan Riddell
Import upstream version 4.0.80
30
31
if ( Q_WS_MAC )
32
  add_subdirectory( konsole )
33
  add_subdirectory( kdepasswd )
34
endif ( Q_WS_MAC )
35
36
if ( Q_WS_X11 )
37
  add_subdirectory( kinfocenter )
38
  add_subdirectory( nsplugins )
39
  add_subdirectory( konsole )
40
  add_subdirectory( kdepasswd )
41
endif ( Q_WS_X11 )
1.1.14 by Jonathan Riddell
Import upstream version 4.0.83
42
macro_optional_add_subdirectory( doc )
43
44
if(CMAKE_SOURCE_DIR STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
45
    macro_display_feature_log()
46
endif(CMAKE_SOURCE_DIR STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")