From f7dd65dd780f1ab8ebb2ccab7f50fc8d28591a85 Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Thu, 15 Feb 2007 08:02:02 +0000 Subject: [PATCH] config.h just add package name/version etc. => not necessary now that it's into kdebase Cleanup CMakeList svn path=/trunk/KDE/kdebase/apps/; revision=633749 --- CMakeLists.txt | 16 ---------------- ConfigureChecks.cmake | 37 ------------------------------------- config.h.cmake | 20 -------------------- 3 files changed, 73 deletions(-) delete mode 100644 ConfigureChecks.cmake delete mode 100644 config.h.cmake diff --git a/CMakeLists.txt b/CMakeLists.txt index c89c3c4f8b..0650adfacb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,19 +1,3 @@ project(dolphin) -set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules ) - -# search packages used by KDE -find_package(KDE4 REQUIRED) -include (KDE4Defaults) -include (MacroLibrary) - -add_definitions (-DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS) -add_definitions (${QT_DEFINITIONS} ${QT_QTDBUS_DEFINITIONS} ${KDE4_DEFINITIONS} -DHAVE_CONFIG_H=1) -include_directories (${QDBUS_INCLUDE_DIRS} ${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${KDE4_INCLUDES}) - -include (ConfigureChecks.cmake) -configure_file (config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h ) - add_subdirectory(src) - -macro_display_feature_log() diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake deleted file mode 100644 index e4219124d6..0000000000 --- a/ConfigureChecks.cmake +++ /dev/null @@ -1,37 +0,0 @@ -include(CheckIncludeFile) -include(CheckIncludeFiles) -include(CheckSymbolExists) -include(CheckFunctionExists) -include(CheckLibraryExists) -include(CheckPrototypeExists) -include(CheckTypeSize) -# The FindKDE4.cmake module sets _KDE4_PLATFORM_DEFINITIONS with -# definitions like _GNU_SOURCE that are needed on each platform. -set(CMAKE_REQUIRED_DEFINITIONS ${_KDE4_PLATFORM_DEFINITIONS}) - -#now check for dlfcn.h using the cmake supplied CHECK_include_FILE() macro -# If definitions like -D_GNU_SOURCE are needed for these checks they -# should be added to _KDE4_PLATFORM_DEFINITIONS when it is originally -# defined outside this file. Here we include these definitions in -# CMAKE_REQUIRED_DEFINITIONS so they will be included in the build of -# checks below. -set(CMAKE_REQUIRED_DEFINITIONS ${_KDE4_PLATFORM_DEFINITIONS}) -if (WIN32) - set(CMAKE_REQUIRED_LIBRARIES ${KDEWIN32_LIBRARIES} ) - set(CMAKE_REQUIRED_INCLUDES ${KDEWIN32_INCLUDES} ) -endif (WIN32) - -check_include_files(stdint.h HAVE_STDINT_H) -check_include_files(sys/types.h HAVE_SYS_TYPES_H) -check_include_files(ieeefp.h HAVE_IEEEFP_H) -check_include_files(mntent.h HAVE_MNTENT_H) -check_include_files(sys/loadavg.h HAVE_SYS_LOADAVG_H) -check_include_files(sys/mnttab.h HAVE_SYS_MNTTAB_H) -check_include_files("sys/param.h;sys/mount.h" HAVE_SYS_MOUNT_H) -check_include_files(sys/statfs.h HAVE_SYS_STATFS_H) -check_include_files(sys/statvfs.h HAVE_SYS_STATVFS_H) -check_include_files(sys/ucred.h HAVE_SYS_UCRED_H) -check_include_files(sys/vfs.h HAVE_SYS_VFS_H) - -check_function_exists(isinf HAVE_FUNC_ISINF) - diff --git a/config.h.cmake b/config.h.cmake deleted file mode 100644 index 3b5721c108..0000000000 --- a/config.h.cmake +++ /dev/null @@ -1,20 +0,0 @@ -/* config.h. Generated by cmake from config.h.cmake */ - - -/* Name of package */ -#define PACKAGE "dolphin" - -/* Define to the address where bug reports for this package should be sent. */ -#define PACKAGE_BUGREPORT "" - -/* Define to the full name of this package. */ -#define PACKAGE_NAME "" - -/* Define to the full name and version of this package. */ -#define PACKAGE_STRING "" - -/* Define to the one symbol short name of this package. */ -#define PACKAGE_TARNAME "" - -/* Define to the version of this package. */ -#define PACKAGE_VERSION ""