aboutsummaryrefslogtreecommitdiff
path: root/modules/KDE4Macros.cmake
AgeCommit message (Collapse)Author
2009-10-05-don't use the internal macro from FindQt4.cmake hereAlexander Neundorf
-use string(TOUPPER ... ) to make testing the value easier Alex svn path=/trunk/KDE/kdelibs/; revision=1031656
2009-10-03Fix / adapt to FindQt4.cmake changes. Found the error in kdenetwork whichAndreas Hartmetz
uses reeeally old ui files. CCMAIL: kde-buildsystem@kde.org CCMAIL: neundorf@kde.org svn path=/trunk/KDE/kdelibs/; revision=1031058
2009-09-14But do not find it multiple times if it has been found yetDario Freddi
svn path=/trunk/KDE/kdelibs/; revision=1023245
2009-09-14Actually, we have to take the POLKITQT_FOUND variable from somewhere.Dario Freddi
svn path=/trunk/KDE/kdelibs/; revision=1023242
2009-09-07CCMAIL:kde-buildsystem@kde.orgDario Freddi
CCMAIL:mueller@kde.org CCMAIL:neundorf@kde.org Commit coming after a long discussion with Alexander. Changing and moving KAuth macros, updating documentation, fixing stuff that already used KAuth. Also, bumping up KDE revision, KDE4WORKSPACE revision and make kdebase/workspace depend on the new 4.3.68 snapshot. Mail me if you find anything strange, it's my first KDE version bump, so you know ;) A big thank you to Alexander for all the help he gave on the cmake side of life. svn path=/trunk/KDE/kdelibs/; revision=1020835
2009-09-06-the RUN_UNINSTALLED argument for KDE4_ADD_[KDEINIT]_EXECUTABLE() is ignored ↵Alexander Neundorf
since KDE 4.2 (since then executables have the RPATH always pointing into the buildtree before being installed) Alex svn path=/trunk/KDE/kdelibs/; revision=1020582
2009-09-03Simplify using IS_ABSOLUTE.Kevin Ottens
Thanks for the tip aleXXX. CCMAIL: neundorf@kde.og svn path=/trunk/KDE/kdelibs/; revision=1019492
2009-08-30revert r990265 because it breaks plugins on windowsChristian Ehrlicher
CCMAIL: kde-windows@kde.org svn path=/trunk/KDE/kdelibs/; revision=1017394
2009-08-26OK, my previous claim for r1015454 was wrong. The new behavior breaksKevin Ottens
old file in many more cases. So activating the new behavior only if the USE_RELATIVE_PATH option is given. (Still, I think we might want to investigate a this trick for files generated from ui files, and moc files ;-)) CCMAIL: kde-buildsystem@kde.org svn path=/trunk/KDE/kdelibs/; revision=1015825
2009-08-25Handle relative paths gracefully for kde4_add_kcfg_files macro.Kevin Ottens
If the passed arguments have a relative path, the generated files end up with the same relative path in the build dir, otherwise the old behavior is applied (generated files end up in the current build dir). (Actually we might want to investigate a similar trick for files generated from ui files, and moc files as I seem to remember having a similar issue with moc files in solid a while ago, workarounded by changing lots of filenames...) Should work fine with existing code, I only had to make a small adjustment in plasma desktop shell (committed a minute ago). CCMAIL: kde-buildsystem@kde.org svn path=/trunk/KDE/kdelibs/; revision=1015454
2009-07-12Always define MAKE_FOO_LIB, not only on Windows. This is used in konqueror ↵David Faure
to know when to enable KDE_TESTS_EXPORT. What I don't understand, is why it worked before; konqprivate_export.h always relied on MAKE_KDEINIT_KONQUEROR_LIB... (and without this commit, konqviewmgrtest failed with undefined symbol KonqSettings::self(), which is logical [hidden symbol]) svn path=/trunk/KDE/kdelibs/; revision=995537
2009-07-02Force the prefix to "lib" so that the plugin name is sure to match the init_ ↵Ralf Habacker
symbol exactly - by cygwin ports maintainer svn path=/trunk/KDE/kdelibs/; revision=990265
2009-07-02could not change commit log after a commit, so revert the part of the patch ↵Ralf Habacker
for which is the comment was forgotten svn path=/trunk/KDE/kdelibs/; revision=990264
2009-07-02Cygwin uses $PATH for runtime library resolution by cygwin ports maintainerRalf Habacker
svn path=/trunk/KDE/kdelibs/; revision=990261
2009-05-29fixed manifest adding when using OUTPUT_NAME target propertiesRalf Habacker
svn path=/trunk/KDE/kdelibs/; revision=974524
2009-05-29made cmake policy conform Ralf Habacker
svn path=/trunk/KDE/kdelibs/; revision=974523
2009-05-26space fixRalf Habacker
svn path=/trunk/KDE/kdelibs/; revision=973042
2009-05-26documented the real problem betterRalf Habacker
svn path=/trunk/KDE/kdelibs/; revision=973034
2009-05-26added initial support for fixing windows vista uac problem by adding a ↵Ralf Habacker
specific manifest file to executables. Vista manifest support is disabled by default and could be enabled by setting the KDE4_ENABLE_UAC_MANIFEST variable. This support requires kdewin32 >= 0.3.9 The basic idea of this patch was announced at kde-buildsystem mailing list http://lists.kde.org/?l=kde-buildsystem&m=124220817129087&w=2 without any objections for about two weeks. svn path=/trunk/KDE/kdelibs/; revision=972974
2009-04-01Honour request from Alex to use _FILE for files, by using _FILENAME for ↵David Faure
"just the filename". svn path=/trunk/KDE/kdelibs/; revision=947898
2009-03-25forward-port various Mac OS X fixes from the 4.2 branch to trunkBenjamin Reed
svn path=/trunk/KDE/kdelibs/; revision=944123
2009-03-04Support for .kcfg files being generated using configure_file like tmcguireDavid Faure
wants to do in kmail. CCMAIL: kde-buildsystem@kde.org svn path=/trunk/KDE/kdelibs/; revision=935251
2009-01-28GLOB_RECURSE in KDE4_ADD_WIN32_APP_ICON is wrong - GLOB should be enoughChristian Ehrlicher
svn path=/trunk/KDE/kdelibs/; revision=917903
2009-01-09add a training / so it's easier to call a filename without having to prepend ↵Anne-Marie Mahfouf
the / OKed by David Faure svn path=/trunk/KDE/kdelibs/; revision=908300
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
2009-01-02-introduce two new internal macros which do the necessary handling for ↵Alexander Neundorf
automoc, they are only created if they are not provided by automoc4 itself (which will happen soon) Alex CCMAIL: kretz@kde.org svn path=/trunk/KDE/kdelibs/; revision=904586
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-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-11make it possible to install several man page docbooks from one dir by ↵Burkhard Lück
generating an unique target for each docbook improve get filename without extension to work for names with a dot in the filename like man-zonetab2pot.py.1.docbook get_filename_component( NAME_WE) cuts this to man-zonetab2pot, but it has to be man-zonetab2pot.py svn path=/trunk/KDE/kdelibs/; revision=895719
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-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-08SVN_SILENT: correct endifPatrick Spendrin
svn path=/trunk/KDE/kdelibs/; revision=881602
2008-11-08make it possible to add application icons to kdeinit applications too.Patrick Spendrin
This is a rather strange hack but it works and so I want to keep it for now. It does not change anything on Linux. svn path=/trunk/KDE/kdelibs/; revision=881571
2008-11-07-print a warning for users which have not yet updated to cmake 2.6.2Alexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=881351
2008-09-08-prepare for supporting cmake >= 2.6.2 and TARGET_LINK_LIBRARIES(target ↵Alexander Neundorf
LINK_INTERFACE_LIBRARIES foo bar) Alex svn path=/trunk/KDE/kdelibs/; revision=858896
2008-09-07-save some regex matching and make the code easier readable: since cmake 2.6 ↵Alexander Neundorf
regex matches are stored in the variables CMAKE_MATCH_<number>, so we have to match the regex only once instead of multiple times and can then just use the stored matches Alex svn path=/trunk/KDE/kdelibs/; revision=858379
2008-08-24patch from Alex:Dirk Mueller
- reduce link dependencies even further Further comment fixes. svn path=/trunk/KDE/kdelibs/; revision=851860
2008-08-14fix comment in the generated file, it was not correct anymore, the option ↵Alexander Neundorf
was removed two weeks ago or so Alex svn path=/trunk/KDE/kdelibs/; revision=847138
2008-07-29-this was missing from the commit last night, which enabled the reduced link ↵Alexander Neundorf
interface: always write the reduced link information into KDELibsDependencies file Alex svn path=/trunk/KDE/kdelibs/; revision=838965
2008-07-21fix automoc4 for msvc as discussed on kde-buildsystemChristian Ehrlicher
svn path=/trunk/KDE/kdelibs/; revision=836190
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-20add a message in case somebody stumbles about a ↵Alexander Neundorf
KDE4_TARGET_LINK_INTERFACE_LIBRARIES() call that it has been renamed Alex svn path=/trunk/KDE/kdelibs/; revision=835491
2008-07-20prefix KDE4_TARGET_LINK_INTERFACE_LIBRARIES with a "_", it is unused in svn ↵Alexander Neundorf
and will be removed again for 4.2 I'd like to do the same in the 4.1 branch. Objections ? Alex CCMAIL: mueller@kde.org svn path=/trunk/KDE/kdelibs/; revision=835295
2008-07-18fix for targets with '-' in name on windowsChristian Ehrlicher
svn path=/trunk/KDE/kdelibs/; revision=834424
2008-07-17fix typoDirk Mueller
svn path=/trunk/KDE/kdelibs/; revision=833559
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
2008-07-02point to the correct test filename on windows, second tryChristian Ehrlicher
svn path=/trunk/KDE/kdelibs/; revision=827019
2008-07-01Yeah, nice reversed condition. We have no .bat files on unix. This fixes ↵David Faure
make test... svn path=/trunk/KDE/kdelibs/; revision=826778