~kubuntu-members/kde-baseapps/4.11

11294 by Dirk Mueller
- move libkonq into apps/
1
project(KDEBASE_APPS)
2
12626 by Allen Winter
forward port SVN commit 770893 by winterz:
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
17644 by Christophe Giboudeaux
Load CTest
6
include(CTest)
7
include(CTestConfig.cmake)
8
11294 by Dirk Mueller
- move libkonq into apps/
9
#search packages used by KDE
17963 by Frank Reininghaus
Update required kdelibs version
10
find_package(KDE4 4.10.60 REQUIRED)
11294 by Dirk Mueller
- move libkonq into apps/
11
include (KDE4Defaults)
17759 by Christophe Giboudeaux
Port to feature_summary.
12
13
find_package(Strigi)
14
set_package_properties(Strigi PROPERTIES DESCRIPTION "Desktop indexing and search support"
15
                       URL "http://strigi.sourceforge.net"
16
                       TYPE REQUIRED
17
                      )
18
19
find_package(ZLIB)
20
set_package_properties(ZLIB PROPERTIES DESCRIPTION "Support for gzip compressed files and data streams"
21
                       URL "http://www.zlib.net"
22
                       TYPE REQUIRED
23
                       PURPOSE "Required for building Konqueror"
24
                      )
11294 by Dirk Mueller
- move libkonq into apps/
25
17706 by Ivan Čukić
Searching for a KActivities version >6.1.0
26
find_package(KActivities 6.1.0)
17759 by Christophe Giboudeaux
Port to feature_summary.
27
set_package_properties(KActivities PROPERTIES DESCRIPTION "Interface library for the activity manager"
28
                       URL "https://projects.kde.org/kactivities"
29
                       TYPE RECOMMENDED
30
                       PURPOSE "Needed for Dolphin integration with activities"
31
                      )
17629.1.1 by Ivan Čukić
Dolphin reporting opened locations to activity manager
32
11403 by Dirk Mueller
move configure checks for kfontinst
33
include(ConfigureChecks.cmake)
11294 by Dirk Mueller
- move libkonq into apps/
34
configure_file (config-apps.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-apps.h )
35
include_directories (${CMAKE_CURRENT_BINARY_DIR})
36
16260 by Sebastian Trueg
Disable all nepomuk legacy code in kdebase.
37
add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS} -DDISABLE_NEPOMUK_LEGACY)
16827.1.27 by Montel Laurent
It compiles fine with "-DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS"
38
add_definitions (-DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS)
11294 by Dirk Mueller
- move libkonq into apps/
39
include_directories (${CMAKE_CURRENT_SOURCE_DIR}/lib/konq ${CMAKE_BINARY_DIR} ${KDE4_INCLUDES})
40
17629.1.1 by Ivan Čukić
Dolphin reporting opened locations to activity manager
41
if ( KActivities_FOUND )
42
  include_directories (${KACTIVITIES_INCLUDE_DIR})
43
endif ( KActivities_FOUND )
44
16740 by Peter Penz
Revert accidental change of CMakeLists.txt
45
add_subdirectory( lib )
10614 by David Faure
Moving Dolphin to kdebase, as discussed with Peter and others.
46
add_subdirectory( dolphin )
16740 by Peter Penz
Revert accidental change of CMakeLists.txt
47
add_subdirectory( kdialog )
48
add_subdirectory( keditbookmarks )
49
add_subdirectory( konqueror )
50
add_subdirectory( kfind )
51
add_subdirectory( plasma )
52
add_subdirectory( konq-plugins )
11178 by Benjamin Long
This is all it took to get kdebase to build on qtopia core, though it still doesn't *work*. Cleaned it up and made it a bit easier to understand too. Konsole, nsplugins and kdepasswd do not build, so don't even try. If we ever have any Qtopia specific progs in kdebase, we can add an 'if ( Q_WS_QWS )' section.
53
54
if ( Q_WS_MAC )
16740 by Peter Penz
Revert accidental change of CMakeLists.txt
55
  add_subdirectory( kdepasswd )
11178 by Benjamin Long
This is all it took to get kdebase to build on qtopia core, though it still doesn't *work*. Cleaned it up and made it a bit easier to understand too. Konsole, nsplugins and kdepasswd do not build, so don't even try. If we ever have any Qtopia specific progs in kdebase, we can add an 'if ( Q_WS_QWS )' section.
56
endif ( Q_WS_MAC )
57
11057 by David Faure
Move nsplugins to apps
58
if ( Q_WS_X11 )
16740 by Peter Penz
Revert accidental change of CMakeLists.txt
59
  add_subdirectory( nsplugins )
60
  add_subdirectory( kdepasswd )
11057 by David Faure
Move nsplugins to apps
61
endif ( Q_WS_X11 )
16740 by Peter Penz
Revert accidental change of CMakeLists.txt
62
macro_optional_add_subdirectory( doc )
13269 by Allen Winter
add the missing macro_display_feature_log(), for those of us who like
63
18029 by Christophe Giboudeaux
Also list packages searched with the QUIET keyword
64
feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)
65