diff options
author | Alexander Neundorf <neundorf@kde.org> | 2006-04-25 20:43:22 +0000 |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2006-04-25 20:43:22 +0000 |
commit | e9a477bcfa7553bded8d7cb750a802d0d79915bf (patch) | |
tree | f68a53b30badcc3ee6604192e46c3c0e3aba7bd9 | |
parent | e42a4bed2af911c31674044249a01043d07cc013 (diff) | |
download | extra-cmake-modules-e9a477bcfa7553bded8d7cb750a802d0d79915bf.tar.gz extra-cmake-modules-e9a477bcfa7553bded8d7cb750a802d0d79915bf.tar.bz2 |
-add the new option to put source-local include dirs first, won't have any effect befor we require cmake 2.4.1 (we're still at 2.3.4)
Alex
svn path=/trunk/KDE/kdelibs/; revision=533904
-rw-r--r-- | modules/KDE4Defaults.cmake | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/modules/KDE4Defaults.cmake b/modules/KDE4Defaults.cmake index 8f9e30c1..582e44c0 100644 --- a/modules/KDE4Defaults.cmake +++ b/modules/KDE4Defaults.cmake @@ -4,13 +4,22 @@ enable_testing() include(CTest) # Always include srcdir and builddir in include path +# This saves typing ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY} in about every subdir +# since cmake 2.4.0 set(CMAKE_INCLUDE_CURRENT_DIR ON) -# Use colors +# put the include dirs which are in the source or build tree +# before all other include dirs, so the headers in the sources +# are prefered over the already installed ones +# since cmake 2.4.1 +set(CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE ON) + +# Use colored output +# since cmake 2.4.0 set(CMAKE_COLOR_MAKEFILE ON) # define the generic version of the libraries here -# this makes it easy to advance it when the next release comes +# this makes it easy to advance it when the next KDE release comes set(GENERIC_LIB_VERSION "5.0.0") set(GENERIC_LIB_SOVERSION "5") |