aboutsummaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2006-05-11Remove my CACHED_ hacks which break when people install libxml2 after seeing ↵David Faure
the error message about it - only use the cache when the check was previously successful, as discussed. svn path=/trunk/KDE/kdelibs/; revision=539759
2006-05-11-enhanced syntax for KDE4_ADD_EXECUTABLE and KDE4_ADD_KDEINIT_EXECUTABLE:Alexander Neundorf
KDE4_ADD_EXECUTABLE(name [NOGUI] [RUN_UNINSTALLED] srcs...) KDE4_ADD_KDEINIT_EXECUTABLE(name [NOGUI] [RUN_UNINSTALLED] srcs...) -> NOGUI and RUN_UNINSTALLED can now be used independently together. This also means that RUN_UNINSTALLED no longer automatically means NOGUI. -build libs and plugins with empty RPATH, so they don't have to be relinked during make install Alex CCMAIL: kde-buildsystem@kde.org svn path=/trunk/KDE/kdelibs/; revision=539757
2006-05-09Abort if QtCore couldn't be found - for mikmak and his strange permission ↵David Faure
problem ;) svn path=/trunk/KDE/kdelibs/; revision=539150
2006-05-09Requires 2.4.1 by default.Laurent Montel
svn path=/trunk/KDE/kdelibs/; revision=538916
2006-05-05Find dcopidl executable also on Windows.Paulo Moura Guedes
svn path=/trunk/KDE/kdelibs/; revision=537589
2006-05-04Factorize the version-number parsing and checking code into a separate macro.David Faure
Already used by the gpgme version check in kdepim. FindQt4 has similar code, but since it's a fork of a CMake module I'm not sure if I should modify it CCMAIL: kde-buildsystem@kde.org svn path=/trunk/KDE/kdelibs/; revision=537476
2006-05-04${LD_LIBRARY_PATH+:$LD_LIBRARY_PATH}, not ${LD_LIBRARY_PATH+:LD_LIBRARY_PATH}David Faure
svn path=/trunk/KDE/kdelibs/; revision=537457
2006-05-04"su" just for unixes.Paulo Moura Guedes
svn path=/trunk/KDE/kdelibs/; revision=537389
2006-05-03I was told kopeteappearancesettings.kcfg has signals ;(Stephan Kulow
Either we grep for it or we introduce a second macro svn path=/trunk/KDE/kdelibs/; revision=537064
2006-05-03there is no single kcfg file in our SVN that needs signals.Stephan Kulow
So don't create tons of invalid .moc files. For someone with more experience it would be cool to generate a flag as soon as there is a .kcfg file needing it svn path=/trunk/KDE/kdelibs/; revision=537048
2006-05-03Added support for KDE_MIN_VERSION (modelled after QT_MIN_VERSION), and ↵David Faure
ported the "kdelibs trunk" check to use the same data, i.e. the output of kde-config. svn path=/trunk/KDE/kdelibs/; revision=536962
2006-05-03Port the DONTPORT check.Volker Krause
svn path=/trunk/KDE/kdelibs/; revision=536897
2006-05-03If the lib isn't there, xcursor isn't useable. This should probably be done ↵David Faure
for all others... svn path=/trunk/KDE/kdelibs/; revision=536875
2006-05-02Fix Qt version parsing to accept "4.1.3-snapshot-20060502"David Faure
svn path=/trunk/KDE/kdelibs/; revision=536688
2006-05-02downgrade hard requirement again. using 2.4.1 isDirk Mueller
fine, but it shouldn't be mandatory svn path=/trunk/KDE/kdelibs/; revision=536450
2006-05-01-remove the kde4_create_doxygen_docs() commandAlexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=536344
2006-05-01-cmake 2.4.1 beta is now requiredAlexander Neundorf
-remove CMAKE_CURRENT_SOURCE_DIR and CMAKE_CURRENT_BINARY_DIR from the INCLUDE_DIRECTORIES() commands, except where it also applies to the subdirectories -remove the "ARGS" keyword from the add_custom_command()s -add the generated files from add_custom_command() always to the list of sources -use the new macro_bool_to_01() in more places -some indenting Alex svn path=/trunk/KDE/kdelibs/; revision=536285
2006-05-01It is quite faster when it doesn't search for libXrandr, libXft etc. in all ↵David Faure
of my $PATH. NO_SYSTEM_PATH disables looking into $PATH and $LIB, I don't see how a X lib could ever be in either of those. Windows uses $PATH for libs - but Windows doesn't have X11 so at least in this file this should be fine; I wonder why FIND_LIBRARY looks into $PATH on unix though, in general... CCMAIL: kde-buildsystem@kde.org svn path=/trunk/KDE/kdelibs/; revision=536154
2006-05-01If the header is there but not the lib, then we can't use itDavid Faure
svn path=/trunk/KDE/kdelibs/; revision=536135
2006-05-01-add a macro to convert the value of cmake variables to 0 or 1 for use in ↵Alexander Neundorf
config.h.cmake Alex svn path=/trunk/KDE/kdelibs/; revision=536102
2006-04-30-two cmake modules to check whether a given struct or pointer has a ↵Alexander Neundorf
specified member variable Alex svn path=/trunk/KDE/kdelibs/; revision=535981
2006-04-28-move the check for Perl into FindKDE4Internal.cmake, so we don't have to ↵Alexander Neundorf
put the check in every module Perl is required for building KDe software, e.g. dcopidl Alex svn path=/trunk/KDE/kdelibs/; revision=535221
2006-04-27-use MACRO_ADD_FILE_DEPENDENCIES() and remove the duplicated ↵Alexander Neundorf
_QT4_ADD_FILE_DEPENDENCIES() Alex svn path=/trunk/KDE/kdelibs/; revision=534769
2006-04-27-use qmake to tell us which uic and moc we should useAlexander Neundorf
-apply patches from Clinton Stimpson and Kenneth Moreland, fixing some QtMain issues on windows Alex svn path=/trunk/KDE/kdelibs/; revision=534767
2006-04-27Add QTUITOOLS macroLaurent Montel
svn path=/trunk/KDE/kdelibs/; revision=534733
2006-04-27if we call it with --no-stub, then it won't produce a Dirk Mueller
header file. Amazing how long this bug went unnoticed. Fixes everything-constantly-rebuilding when using cmake. svn path=/trunk/KDE/kdelibs/; revision=534598
2006-04-26-add the multiple output to the dcop macrosAlexander Neundorf
-some lowercasing Alex svn path=/trunk/KDE/kdelibs/; revision=534320
2006-04-26-move the test for a compiler flag into an own generic cmake module: ↵Alexander Neundorf
CheckCXXCompilerFlag.cmake -add a comment about removing CheckTypeSize.cmake once we require cmake 2.4.1 Alex svn path=/trunk/KDE/kdelibs/; revision=534314
2006-04-26- some compile flags cleanupsDirk Mueller
- readd visibility support svn path=/trunk/KDE/kdelibs/; revision=534204
2006-04-25-add the new option to put source-local include dirs first, won't have any ↵Alexander Neundorf
effect befor we require cmake 2.4.1 (we're still at 2.3.4) Alex svn path=/trunk/KDE/kdelibs/; revision=533904
2006-04-24-add the generated ui-headers to the list of sources, this helps with ↵Alexander Neundorf
creating the desired rules Alex svn path=/trunk/KDE/kdelibs/; revision=533383
2006-04-23-make the kdewidgets rule depend on makekdewidgets inside kdelibsAlexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=533083
2006-04-23-remove KDE4_INCLUDE_DIRS, it doesn't existAlexander Neundorf
-include MacroLibrary in the top level CMakeLists.txt instead of the separate macro files Alex svn path=/trunk/KDE/kdelibs/; revision=532921
2006-04-22-add docs for the NOGUI and RUN_UNINSTALLED options for KDE4_ADD_EXECUTABLE()Alexander Neundorf
-use the new multiple-output syntax for KDE4_ADD_KCFG_FILES() -introduce a new target property WRAPPER_SCRIPT, which is set to the created wrapper script (or the executable if none is generated), which can then be easily queried and used e.g. in add_custom_command Alex Adriaan, does this fix your RPATH problem ? CCMAIL: <groot@kde.org> svn path=/trunk/KDE/kdelibs/; revision=532800
2006-04-20OK so FIND_PATH and FIND_LIBRARIES use the cache already, so no need for the ↵David Faure
CACHED_FOO fast-path when the check only uses those. Instead I used this, to avoid "Found libfoo" in the output when in fact we didn't just look for it, we had it in the cache. +if (TIFF_INCLUDE_DIR) + # Already in cache, be silent + set(TIFF_FIND_QUIETLY TRUE) +endif (TIFF_INCLUDE_DIR) CACHED_FOO remains for the cases where there is more logic to the configure check, like PKGCONFIG, foo-config, or CHECK_LIBRARY_EXISTS (e.g. bzip2) CCMAIL: kde-buildsystem@kde.org svn path=/trunk/KDE/kdelibs/; revision=531839
2006-04-20This one now looks exactly like the one in cmake itself (even in cmake-2.2.3)David Faure
svn path=/trunk/KDE/kdelibs/; revision=531833
2006-04-18Turn "-Ifoo -Ibar" into "foo;bar", as expected by include_directories.David Faure
svn path=/trunk/KDE/kdelibs/; revision=531255
2006-04-18-I doesn't belong in _INCS.David Faure
The other solution would be to use add_definitions instead of include_directories, but then we lose the automatic removal of -I/usr/include for instance. svn path=/trunk/KDE/kdelibs/; revision=531167
2006-04-18More use of the cache; fixing previous commit to not recheck everytime when ↵David Faure
something isn't available (e.g. agg for me). svn path=/trunk/KDE/kdelibs/; revision=531000
2006-04-17Move windowsystem check earlier in file and use the resultTanner Lovelace
to short circuit checks for Motif on non X11 platforms. svn path=/trunk/KDE/kdelibs/; revision=530857
2006-04-15Add makekdewidgets macro.Volker Krause
svn path=/trunk/KDE/kdelibs/; revision=530095
2006-04-14Patch by Frank Osterfeld to find makekdewidgets.Volker Krause
svn path=/trunk/KDE/kdelibs/; revision=529864
2006-04-14Actually use the cache whenever possible. Should speed up the re-configuring ↵David Faure
that happens so often. svn path=/trunk/KDE/kdelibs/; revision=529759
2006-04-14-- Found KDE4 include dir: /Users/dfaure/kde/trunk/KDE/kdelibsDavid Faure
-- Found KDE4 library dir: /Users/dfaure/kde/trunk/KDE/build/kdelibs/lib/. is a strange way of saying "I'm setting those vars internally", when building kdelibs. svn path=/trunk/KDE/kdelibs/; revision=529757
2006-04-13Fix up include guard since it's missing UI_ currentlyDavid Faure
svn path=/trunk/KDE/kdelibs/; revision=529505
2006-04-13Add X11_XFT_FOUNDLaurent Montel
svn path=/trunk/KDE/kdelibs/; revision=529328
2006-04-13Search Xft include libLaurent Montel
svn path=/trunk/KDE/kdelibs/; revision=529324
2006-04-12Moved out the 4 values from config.h that depend on the installation prefix,David Faure
so that changing the prefix doesn't mean recompiling -all- of kdelibs, only a few files. One more step towards modular config-foo.h files. svn path=/trunk/KDE/kdelibs/; revision=529149
2006-04-12Actually use the cache so that every call to cmake doesn't call akode-config.David Faure
The same needs to be done in many other checks... svn path=/trunk/KDE/kdelibs/; revision=528992
2006-04-12Make it user friendly:Stephan Kulow
- Qt qmake not found! + The installed Qt version 4.1.0-rc1 is too old, at least version 4.1.1 is required svn path=/trunk/KDE/kdelibs/; revision=528959