We've moved to Git, so we're never built as part of extragear/sdk
[kdevelop:kdevelop.git] / CMakeLists.txt
1 project(KDevelop)
2
3 set(KDE4_BUILD_TESTS "ON" CACHE "BOOL" "Enable building of tests" FORCE )
4
5 set(CMAKE_MODULE_PATH ${KDevelop_SOURCE_DIR}/cmake/modules ${CMAKE_MODULE_PATH})
6
7 set( KDEVELOP_VERSION_MAJOR 4 )
8 set( KDEVELOP_VERSION_MINOR 0 )
9 set( KDEVELOP_VERSION_PATCH 60 )
10
11 set(KDE_MIN_VERSION "4.3.0")
12 find_package(KDE4 4.3.0 REQUIRED)
13 #find_package(BerkeleyDB)
14 #find_package(TDB)
15 include (KDE4Defaults)
16 include (MacroLibrary)
17 include (MacroOptionalAddSubdirectory)
18
19 find_package(KDevPlatform 1.0.60 REQUIRED)
20 include_directories(${KDEVPLATFORM_INCLUDE_DIR})
21
22 add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS} -DHAVE_CONFIG_H=1)
23
24 include_directories(${KDevelop_SOURCE_DIR} ${KDevelop_BINARY_DIR} ${KDE4_INCLUDES} )
25
26 # create config.h
27 include (ConfigureChecks.cmake)
28 configure_file (config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h )
29
30 add_subdirectory(cmake)
31 add_subdirectory(pics)
32 add_subdirectory(app)
33 add_subdirectory(formatters)
34 add_subdirectory(languages)
35 add_subdirectory(projectbuilders)
36 add_subdirectory(projectmanagers)
37 add_subdirectory(debuggers)
38 add_subdirectory(app_templates)
39 add_subdirectory(documentation)
40 #macro_optional_add_subdirectory(doc)
41
42 macro_display_feature_log()
43