mirror of
https://invent.kde.org/system/dolphin
synced 2024-10-05 16:19:10 +00:00
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
This commit is contained in:
parent
f42d1d2c02
commit
f7dd65dd78
|
@ -1,19 +1,3 @@
|
||||||
project(dolphin)
|
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)
|
add_subdirectory(src)
|
||||||
|
|
||||||
macro_display_feature_log()
|
|
||||||
|
|
|
@ -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)
|
|
||||||
|
|
|
@ -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 ""
|
|
Loading…
Reference in a new issue