aboutsummaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
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
2006-04-11the usual security fixes:Dirk Mueller
- add proper quoting - add proper LD_LIBRARY_PATH export's - don't make world executable. Ok, it would be better to honor umask, but I don't know how to do that.. svn path=/trunk/KDE/kdelibs/; revision=528894
2006-04-11cups >= 1.1.19 is required by kdeprint. Should that check be added here, or ↵David Faure
in kdeprint? svn path=/trunk/KDE/kdelibs/; revision=528855
2006-04-10-handling paths containing spaces seems to be a major problem, at least hereAlexander Neundorf
on FreeBSD without the double qoutes LD_LIBRARY_PATH works at least, and the added double qoutes help in finding the executable, but now dcopidl2cpp complains about the space in the path to the kidl file, and no qoutes and no backslashes help :-/ Alex P.S. if this breaks the build on other systems, feel free to revert CCMAIL: kde-buildsystem@kde.org svn path=/trunk/KDE/kdelibs/; revision=528380
2006-04-10Reported to fix compilation with msvc.David Faure
svn path=/trunk/KDE/kdelibs/; revision=528134
2006-04-09-better error handling in FindQt4.cmakeAlexander Neundorf
-use add_custom_command instead of add_custom_target(), saves one line of code Alex svn path=/trunk/KDE/kdelibs/; revision=527955
2006-04-08Add a check for Xinput.Adrian Page
svn path=/trunk/KDE/kdelibs/; revision=527638
2006-04-08optimized gnuwin32 detection on windowsRalf Habacker
- find gnuwin32 package location very early - removed GNUWIN32_INCLUDE_DIR/GNUWIN32_LIBRARY_DIR macros, because FindGNUWIN32.cmake sets now CMAKE_INCLUDE_PATH and CMAKE_LIBRARY_PATH - don't use pkgconfig on windows svn path=/trunk/KDE/kdelibs/; revision=527634
2006-04-08fixed gnuwin32 detectionRalf Habacker
svn path=/trunk/KDE/kdelibs/; revision=527629
2006-04-08-generate the shell-wrappers for the executables during buildtime instead of ↵Alexander Neundorf
cmake time, and remove them when "cleaning" Alex svn path=/trunk/KDE/kdelibs/; revision=527599
2006-04-08-try to make it work with paths which contain spacesAlexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=527571
2006-04-08forgot to add this file :-/Alexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=527541
2006-04-08abort configuring if installed used qt version is to old Ralf Habacker
svn path=/trunk/KDE/kdelibs/; revision=527493
2006-04-08limit gnuwin32 package to windowsRalf Habacker
svn path=/trunk/KDE/kdelibs/; revision=527490
2006-04-08-add GENERIC_LIB_VERSION and GENERIC_LIB_SOVERSION in KDE4Defaults.cmake, so ↵Alexander Neundorf
we can easily adjust the version number of our libs for each release Alex svn path=/trunk/KDE/kdelibs/; revision=527474
2006-04-08-creating of the sh-wrappers now also works with empty EXECUTABLE_OUTPUT_PATHAlexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=527424
2006-04-07-fix link error in kdewidgetsAlexander Neundorf
-fix error in kate (the ui_ prefix was missing) -change RPATH handling once again: -renamed "TOOL" to "RUN_UNINSTALLED" RPATH_STYLE is gone if CMAKE_SKIP_RPATH is enabled, no RPATH will be used if it is enabled, all except the RUN_UNINSTALLED apps will be built with RPATH to the install dir, apps with RUN_UNINSTALLED set will be built with RPATH to the build dir, and relinked during make install Alex svn path=/trunk/KDE/kdelibs/; revision=527381
2006-04-07-in ADD_CUSTOM_COMMAND: use MAIN_DEPENDENCY, where the depend file is a file ↵Alexander Neundorf
which will not be compiled by the C/C++ compiler and use DEPENDS for everything else and where it's unsure whether it's a header or an implementation file this fixes the build in kdelibs/kdewidgets/ partly, now it breaks with "unknown interface" :-/ Alex svn path=/trunk/KDE/kdelibs/; revision=527355
2006-04-06-use the TOOL keyword for kconfig_compiler, genembed and makekdewidgetsAlexander Neundorf
ideally the keywords would be: one of RUN_FROM_BUILDTREE, RUN_UNINSTALLED, NOINST, BUILDTOO, TOOL - has to run from the buildtree without being installed NOGUI - bascially means "no bundle on OS X", so e.g. also for maybe kwin default (no keyword): build a bundle on OS X, compile with RPATH to the install dir Alex CCMAIL: kde-buildsystem@kde.org svn path=/trunk/KDE/kdelibs/; revision=527103