aboutsummaryrefslogtreecommitdiff
path: root/modules/FindKDE4Internal.cmake
AgeCommit message (Collapse)Author
2009-01-02-if no minimum version is given, set it to 4.0.0Alexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=904680
2009-01-02fix error message: KDEVERSION -> KDE_VERSIONAlexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=904678
2009-01-02-since cmake 2.6.2 the <package>_FIND_VERSION_(MAJOR|MINOR|PATCH) variables ↵Alexander Neundorf
are initialized automatically to "0", so no need to do it manually here Alex CCMAIL: apaku@gmx.de svn path=/trunk/KDE/kdelibs/; revision=904593
2009-01-02-check the version of kdelibs using the KDE_VERSION variable from ↵Alexander Neundorf
KDELibsDependencies.cmake instead of running kde4-config and parsing its output This should be (very) slightly faster, makes cross compiling one step easier and should be more robust. Copyright the files also this year for me :-) Alex svn path=/trunk/KDE/kdelibs/; revision=904590
2008-12-23fix cmake version variable namesPino Toscano
patch by Modestas Vainius svn path=/trunk/KDE/kdelibs/; revision=900828
2008-12-15-unconditionally enable the reduced link interface Alexander Neundorf
I checked that all modules (except extragear, review, playground, kwebdev) link on my machine, which means it can still break on other configurations. Alex CCMAIL: kde-buildsystem@kde.org CCMAIL: mueller@kde.org CCMAIL: Sune@vuorela.dk CCMAIL: modestas@vainius.eu svn path=/trunk/KDE/kdelibs/; revision=897386
2008-12-14-remove support for option KDE4_USE_ALWAYS_FULL_RPATH, with cmake >= 2.6.0 ↵Alexander Neundorf
we build always with full RPATH enabled, since the only reason not to do so was because the relinking this caused was slow. Now with camke 2.6 the libraries and executables don't have to be relinked again, instead the RPATH inside the binaries is patched, which is *much* faster. So we can always play safe and use the full RPATH. I also changed this setting for the Mac, because I don't see why it should be necessary there. If this breaks something (i.e. when starting an app wrong libs are linked/or they are not found), please let me know. Alex CCMAIL: illogical1@gmail.com svn path=/trunk/KDE/kdelibs/; revision=897003
2008-12-14-rename the new kde4_write_basic_cmake_version_file() to ↵Alexander Neundorf
macro_write_basic_cmake_version_file(), since it is completely KDE-independent and can potentially be used in any other project remove the old macro, add the new renamed one, add it to the macro library, adjust kdepimlibs/CMakeLists.txt accordingly Alex svn path=/trunk/KDE/kdelibs/; revision=896999
2008-12-14-optionally support a version number for searching kdepimlibsAlexander Neundorf
-fix comment, filename is <package>ConfigVersion.cmake -fix logic in Version template file, it was the wrong way Alex svn path=/trunk/KDE/kdelibs/; revision=896993
2008-12-14-add a macro which helps with generating a find_package() conform ↵Alexander Neundorf
<package>Version.cmake file Alex svn path=/trunk/KDE/kdelibs/; revision=896965
2008-12-12SVN_SILENT no it does not ;-)David Faure
svn path=/trunk/KDE/kdelibs/; revision=896223
2008-12-02make more variables as advanced, so the non-advanced view is less clutteredAlexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=891674
2008-12-01-add some comments about the imported targetsAlexander Neundorf
-remove old commented code Alex svn path=/trunk/KDE/kdelibs/; revision=891394
2008-11-18reintroduce the cmake option KDE4_ENABLE_EXPERIMENTAL_LIB_EXPORT to enable ↵Alexander Neundorf
the reduced link interface in modules != kdelibs obe by one Alex svn path=/trunk/KDE/kdelibs/; revision=885852
2008-11-12clean up a few STATUS messages.Allen Winter
svn path=/trunk/KDE/kdelibs/; revision=883065
2008-11-10-require cmake 2.6.2Alexander Neundorf
-enable the reduced link interface for everybody now in kdelibs -convert all the set_target_properties(foo LINK_INTERFACE_LIBRARIES...) to the new target_link_libraries(foo LINK_INTERFACE_LIBRARIES ...) -install all shared libs also as "exported targets", so these libraries can be included by the other projects again as "imported targets", which should fix some problems with different build configurations, the reduced link interface, hopefully also custom install locations (Windows), maybe more -remove the temporary internal hackish macro _KDE4_EXPORT_LIBRARY_DEPENDENCIES() Alex, who hopes this doesn't break too much... So if you get linker errors now, please let me know (or even better kde-buildsystem@kde.org) svn path=/trunk/KDE/kdelibs/; revision=882594
2008-11-06-remove setting CMAKE_CONFIGURATION_TYPES, this is intended only for the ↵Alexander Neundorf
non-Makefile generators, but was set always, and for Makefile-generators only CMAKE_BUILD_TYPE should be set, otherwise you can get strange effects e.g. when installing (then some configuration from CMAKE_CONFIGURATION_TYPES instead of the one from CMAKE_BUILD_TYPE might be installed) See http://lists.kde.org/?l=kde-buildsystem&m=122592542916378&w=2 Alex svn path=/trunk/KDE/kdelibs/; revision=880856
2008-11-06when compiling kdelibs, KDE4_KFILE_LIBS should contain also the dependencies ↵Pino Toscano
of it, including kio aka make it link in the right way svn path=/trunk/KDE/kdelibs/; revision=880848
2008-11-06kfile does not link to kde3support, so there is no reason the define ↵Marijn Kruisselbrink
KDE4_KFILE_LIBS to actually include KDE3SUPPORT svn path=/trunk/KDE/kdelibs/; revision=880736
2008-11-04Pino was right it's better to use KDE4_PLASMA_LIBSLaurent Montel
find method to keep compatibility Remove all requires to Plasma svn path=/trunk/KDE/kdelibs/; revision=880118
2008-10-25- fix library name to be more consistent with the othersDirk Mueller
- fix detection - add SO versioning (public libraries without versioning should be a no-go) svn path=/trunk/KDE/kdelibs/; revision=875762
2008-10-22It's kformulalib and not kformula...Laurent Montel
svn path=/trunk/KDE/kdelibs/; revision=874656
2008-09-21Not pedantic by defaultLaurent Montel
svn path=/trunk/KDE/kdelibs/; revision=863128
2008-09-21Add cmake macro for kformula libLaurent Montel
svn path=/trunk/KDE/kdelibs/; revision=863122
2008-09-07-remove debug output and improve messageAlexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=858380
2008-09-07-fix handling of "REQUIRED" when used in kdelibsAlexander Neundorf
(otherwise if automoc was too old you got "unknown cmake command kde4_add_executable()", where the cause is not too obvious) Alex svn path=/trunk/KDE/kdelibs/; revision=858363
2008-09-01also update the error message with the new required automoc versionMarijn Kruisselbrink
CCMAIL: mueller@kde.org svn path=/trunk/KDE/kdelibs/; revision=855909
2008-09-01bump automoc4 version requirement to match reality - can'tDirk Mueller
build trunk anymore with that old version svn path=/trunk/KDE/kdelibs/; revision=855822
2008-09-01Show the actual compiler error when compilation of a simple qt test program ↵David Faure
fails. (In my case it was the removal of a symlink to the qt-copy dir.) svn path=/trunk/KDE/kdelibs/; revision=855787
2008-08-20-disable setting the LINK_INTERFACE_LIBRARIES temporarily for cmake cvs HEAD ↵Alexander Neundorf
and the soon to be released 2.6.2, since what is silently ignored and fails at link time now (or is hacked working as jaroslaw did) will fail the at cmake time, which is better, but will break e.g. Jaroslaws workarounds This will be fixed correctly when I'm back from vacation in two weeks. Alex svn path=/trunk/KDE/kdelibs/; revision=850198
2008-08-17Document the KDE_MIN_VERSION variable and that its deprecated.Andreas Pakulat
svn path=/trunk/KDE/kdelibs/; revision=848173
2008-08-16FindQt4.cmake: fail if Qt3 has already been foundAlexander Neundorf
FATAL_ERROR also if called QUIETLY FindKDE4Internal.cmake: only abort with FATAL_ERROR if we are REQUIRED, otherwise just RETURN() and don't set KDE4_FOUND Alex svn path=/trunk/KDE/kdelibs/; revision=848106
2008-08-15Allow to use a minimum version with cmake's find_package() call, likeAndreas Pakulat
find_package(KDE4 4.2.0 REQUIRED). Include some documentation for it. svn path=/trunk/KDE/kdelibs/; revision=847677
2008-08-09disable the reduced link interface for now for windows, since there people ↵Alexander Neundorf
have problems since they are actually using the "debug" and "optimized" keywords for libraries, which leads to problems with cmake 2.6.0 and 2.6.1 when linking (it tries to link against -ldebug or -loptimized) Alex CCMAIL: kde-windows@kde.org svn path=/trunk/KDE/kdelibs/; revision=844368
2008-08-06-initialize LIB_SUFFIX to 64 (or 32) if kdelibs have been installed to lib64 ↵Alexander Neundorf
(or lib32) Does anybody think this might be a bad idea or cause problems under some weird circumstances ? Alex CCMAIL: kde-buildsystem@kde.org svn path=/trunk/KDE/kdelibs/; revision=843268
2008-08-06one check less, now that cmake 2.6.0 is requiredMatthias Kretz
svn path=/trunk/KDE/kdelibs/; revision=843151
2008-08-05-no need to test for > 2.5, since 2.6.0 is required now, so it is always > 2.5Alexander Neundorf
Alex CCMAIL: apaku@gmx.de svn path=/trunk/KDE/kdelibs/; revision=842686
2008-08-05Fix my earlier mistake, Debugfull should be enabled for anything greater 2.5 ↵Andreas Pakulat
(i.e. 2.6.0 and onwards) svn path=/trunk/KDE/kdelibs/; revision=842305
2008-08-04-require cmake >= 2.6.0Alexander Neundorf
-remove some tests for the current cmake versions Alex svn path=/trunk/KDE/kdelibs/; revision=842236
2008-07-29when using cmake 2.6.0 make sure it's using automoc 0.9.84 or laterMatthias Kretz
svn path=/trunk/KDE/kdelibs/; revision=839226
2008-07-28-make the reduced link interface the defaultAlexander Neundorf
Dirk fixed most (all ?) of the breakage this causes, let's see if there is something left (i.e. adding missing libraries to the TARGET_LINK_LIBRARIES() calls) Alex svn path=/trunk/KDE/kdelibs/; revision=838863
2008-07-28-print a reminder that starting next week at least cmake 2.6.0 is required ↵Alexander Neundorf
for building KDE 4 trunk Hint: you can easily install multiple versions of cmake by just putting them into separate directories and then calling them initially with the full path: /opt/cmake-2.6.0/bin/cmake ... Alex svn path=/trunk/KDE/kdelibs/; revision=838859
2008-07-23remove the condition around KDE4_ENABLE_EXPERIMENTAL_LIB completelyChristian Ehrlicher
svn path=/trunk/KDE/kdelibs/; revision=837109
2008-07-23enable KDE4_ENABLE_EXPERIMENTAL_LIB for windows too - kdelibs compiles fine ↵Christian Ehrlicher
with this option svn path=/trunk/KDE/kdelibs/; revision=837076
2008-07-22-fix linking on Windows, here by default the LINK_INTERFACE_LIBRARIES ↵Alexander Neundorf
properties was set, while it was intended that by default it shouldn't be set Alex CCMAIL: kde-windows@kde.org svn path=/trunk/KDE/kdelibs/; revision=836766
2008-07-21-also disable _KDE4_TARGET_LINK_INTERFACE_LIBRARIES() and use the renamed ↵Alexander Neundorf
LINK_INTERFACE_LIBRARIES target property instead: set_target_properties(foo PROPERTIES ${KDE4_DISABLE_PROPERTY_}LINK_INTERFACE_LIBRARIES "kdeui;kdecore" ) While this doesn't look very nice, it is completely forward and backward compatible (i.e. cmake 2.4 doesn't complain, cmake 2.6 works, both versions work as soon as the reduced link interface is the default (soon), if somebody uses this with kdelibs which don't have that anymore he will get the reduced interface instead of errors, so all should be ok) Alex CCMAIL: mueller@kde.org svn path=/trunk/KDE/kdelibs/; revision=836131
2008-07-20FindPCRE.cmake: lowercasingAlexander Neundorf
FindSharedMimeInfo.cmake: document SHARED_MIME_INFO_MINIMUM_VERSION and add a comment about the WORKING_DIRECTORY FindGStreamer.cmake: use FIND_PACKAGE_HANDLE_STANDARD_ARGS() FindExiv2.cmake: lowercasing, document EXIV2_MIN_VERSION FindKDE4Internal.cmake: remove empty lines from documentation block so everything is included again in the generated documentation Alex svn path=/trunk/KDE/kdelibs/; revision=835253
2008-07-19Explain the various build types that KDE4 supports and add Debugfull to theAndreas Pakulat
build configuration types for CMake > 2.5 svn path=/trunk/KDE/kdelibs/; revision=834533
2008-07-094.1 -> 4.2Allen Winter
svn path=/trunk/KDE/kdelibs/; revision=830131
2008-07-07-make automoc4 required finally (... 4.1 is not too far away)Alexander Neundorf
Alex CCMAIL: kde-buildsystem@kde.org CCMAIL: kretz@kde.org svn path=/trunk/KDE/kdelibs/; revision=829250