aboutsummaryrefslogtreecommitdiff
path: root/modules/KDE4Macros.cmake
AgeCommit message (Collapse)Author
2008-06-27test executable is .xe.bat on windows (fake rpath handling)Christian Ehrlicher
svn path=/trunk/KDE/kdelibs/; revision=825239
2008-06-26add KDE4_TARGET_LINK_INTERFACE_LIBRARIES, which I can useDirk Mueller
next monday to reduce excessive links svn path=/trunk/KDE/kdelibs/; revision=824675
2008-06-09just some cosmetics...Alexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=818828
2008-06-03As discussed with Dirk, make the link interface empty by default, i.e. by ↵Alexander Neundorf
default apps linking to libfoo won't be linked to the libs libfoo.so links against too anymore. This can be enabled by setting with the option KDE4_ENABLE_EXPERIMENTAL_LIB_EXPORT. If enabled, this currently breaks already kdelibs and probably other modules too. Dirk will test. Alex CCMAIL: mueller@kde.org CCMAIL: modestas@vainius.eu svn path=/trunk/KDE/kdelibs/; revision=816409
2008-05-28-also list the tiff file as outputAlexander Neundorf
-the OUTPUT files are deleted automatically on "make clean", so no need to add them explicitely Alex svn path=/trunk/KDE/kdelibs/; revision=813894
2008-05-14the _dummy.cpp file for kdeinit executables doesn't need to have automoc4 to ↵Matthias Kretz
run on it svn path=/trunk/KDE/kdelibs/; revision=807733
2008-05-10-use automoc4 from kdesupport if available, otherwise fallback to the one ↵Alexander Neundorf
from kdelibs. In a few weeks automoc4 from kdesupport will be required. Alex CCMAIL: kretz@kde.org svn path=/trunk/KDE/kdelibs/; revision=806300
2008-05-10-rename KDE4_GET/SET_CUSTOM_PROPERTY() to _KDE4..., so they are clearly ↵Alexander Neundorf
marked as internal and not for public use Alex svn path=/trunk/KDE/kdelibs/; revision=806159
2008-04-25-modify kde4_add_kdeinit_executable() so that under windows no longer a ↵Alexander Neundorf
shared lib is created, but just a static library (which doesn't have to be installed), but which is used for linking, see discussion on kde-buildsystem Alex svn path=/trunk/KDE/kdelibs/; revision=801179
2008-04-25-lowercasingAlexander Neundorf
-remove KDE4_ADD_TEST_EXECUTABLE(), which was deprecated and disabled before KDE 4.0.0 Alex svn path=/trunk/KDE/kdelibs/; revision=801160
2008-03-14lowercasingAlexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=785773
2008-03-04SVN_SILENT: lowercase commands in KDE4_ADD_APP_ICONChristian Ehrlicher
svn path=/trunk/KDE/kdelibs/; revision=782268
2008-03-03much better way to determine icon size - the last fix was not correct in ↵Christian Ehrlicher
some cases svn path=/trunk/KDE/kdelibs/; revision=781786
2008-03-02fix KDE4_ADD_APP_ICON when the path contains '64' or any other needed icon sizeChristian Ehrlicher
svn path=/trunk/KDE/kdelibs/; revision=781336
2008-02-24give each handbook and manpage custom target a unique, recognizable name.Allen Winter
svn path=/trunk/KDE/kdelibs/; revision=778813
2008-02-18some improvements to the docs:Alexander Neundorf
-some modules were not at all documented, only few are left now -the copyright message doesn't have to be printed for every module in the docs -fix FindKorundom.cmake, it didn't follow the style guide and had typos (e.g. Korumdum_FOUND instead of KORUNDUM_FOUND) Alex (will commit modified FindKDE4Internal.cmake after Christians commit) svn path=/trunk/KDE/kdelibs/; revision=776742
2008-01-29Add support to install localized icons.Chusslove Illich
svn path=/trunk/KDE/kdelibs/; revision=768063
2008-01-22patch by dfaure so that the testfoo.shell wrapper is used when runningAllen Winter
'make test' on Unix. We want to do this because testfoo.shell uses the runpath that points to our builddir, rather than installdir. this way, you no longer need to run make install before running make test. as discussed on kde-buildsystem svn path=/trunk/KDE/kdelibs/; revision=764809
2008-01-10make kde4_add_unit_test work properly on OSX together with non-NOGUI tests. ↵Marijn Kruisselbrink
I'm not entirely convinced this is the best way to fix it, but it seems to work fine (and it is at least better than the current situation). svn path=/trunk/KDE/kdelibs/; revision=759619
2008-01-09of course I notice the bug just after I committed it ;(Dirk Mueller
svn path=/trunk/KDE/kdelibs/; revision=759070
2008-01-09fix installation of handbooks when DESTDIR installationDirk Mueller
is used svn path=/trunk/KDE/kdelibs/; revision=758943
2008-01-05SVN_SILENT: KDE4_ADD_WIN32_APP_ICON was renamed to KDE4_ADD_APP_ICONChristian Ehrlicher
svn path=/trunk/KDE/kdelibs/; revision=757741
2008-01-02Add missing icon contexts to the kde4_install_icons() macro.Jakob Petsovits
In case you didn't know it (I didn't as of a few minutes ago): You can use the exact icon context names in the filenames of your installed icons. If you ever wondered where the "app" in ox22-app-mykdeapplication.png came from: that's just KDE 3 compatibility. Using the real name of the context, "apps", works just as well: ox22-apps-mykdeapplication.png (This also works with "actions", "status", "places" and whatever icon contexts the icon naming specification defines.) svn path=/trunk/KDE/kdelibs/; revision=756013
2007-12-31Change the KDE4_CREATE_HANDBOOK macro so that the current source directory ↵Ingo Klöcker
is used as working directory when running meinproc4. This way meinproc4 can find the *.docbook files referenced by index.docbook and sitting next to index.docbook in the source dir. This fixes handbook creation for index.docbook files with references to other *.docbook files. svn path=/trunk/KDE/kdelibs/; revision=755195
2007-12-31clean up - add 128px icon and remove _namePatrick Spendrin
svn path=/trunk/KDE/kdelibs/; revision=755068
2007-12-30Use Ralf's approach - with a little change it also supports subdirs so we've ↵Patrick Spendrin
no point against it anymore :) CCMAIL: Ralf.Habacker@freenet.de svn path=/trunk/KDE/kdelibs/; revision=754837
2007-12-30change KDE4_ADD_APP_ICON to act exactly like KDE4_ADD_WIN32_APP_ICON as the ↵Patrick Spendrin
former did not work correct / was to unflexible CCMAIL: Ralf.Habacker@freenet.de svn path=/trunk/KDE/kdelibs/; revision=754803
2007-12-30- added new macro KDE4_ADD_APP_ICON, which is used for adding application ↵Ralf Habacker
icons on win32 and mac osx - marked KDE4_ADD_WIN32_APP_ICON as deprecated svn path=/trunk/KDE/kdelibs/; revision=754677
2007-12-19-fix RPATH change from yesterdayAlexander Neundorf
The libs and plugins were built with RPATH, but with the install RPATH, which means that if you run some executable during the build, it may get installed libs, since the RPATH in the libs points to the install dir. Now the libs are linked with the RPATH to the build dir, and when installing they are relinked. This unfortunately takes some time. There are two ways around it: -set KDE4_USE_ALWAYS_FULL_RPATH to FALSE, then you will have the old behaviour or -use cmake cvs and current kdesupport, then the RPATH will be changed not by linking again but by running chrpath on the installed binary, which takes basically no time Alex svn path=/trunk/KDE/kdelibs/; revision=750683
2007-11-25rearrange evaluation of executable params to not forget someChristian Ehrlicher
svn path=/trunk/KDE/kdelibs/; revision=741409
2007-11-20if there's nothing to moc, don't add automoc source which is C++, then a lib ↵Matthias Kretz
with only C sources remains a C lib svn path=/trunk/KDE/kdelibs/; revision=739064
2007-11-19-add some more quotes to help with spacesAlexander Neundorf
-use only one SET_TARGET_PROPERTIES() instead of two, kdefakes is build as C++ instead of C library because of automoc (which comes with kde4_add_library, which adds a C++ file to every target). To avoid this simply add_library() could be used, it just has to be made sure that the RPATH is correc (should be automatically) and the correct definitions are set (for exporting the right symbols) Alex CCMAIL: ossi@kde.org svn path=/trunk/KDE/kdelibs/; revision=738871
2007-11-13changing kde4_add_win32_icon acc. to the hints of alex neundorf.Patrick Spendrin
CCMAIL: neundorf@kde.org svn path=/trunk/KDE/kdelibs/; revision=736285
2007-11-09make msvc build not depending on windresPatrick Spendrin
svn path=/trunk/KDE/kdelibs/; revision=734742
2007-11-09hopefully the last commit concerning thisPatrick Spendrin
svn path=/trunk/KDE/kdelibs/; revision=734696
2007-11-09this is the current working solution but I couldn't set kate_KDEINIT_SRCS ↵Patrick Spendrin
from the macro, that's why it isn't included anymore svn path=/trunk/KDE/kdelibs/; revision=734672
2007-11-09changing macro to just work in case of png2ico's existance - removing ↵Patrick Spendrin
duplication from FindKDEWIN32.cmake svn path=/trunk/KDE/kdelibs/; revision=734634
2007-10-29-use if(NOT ...) instead of an empty if() branchAlexander Neundorf
-all lower case in KDE4_ADD_WIN32_APP_ICON Alex svn path=/trunk/KDE/kdelibs/; revision=730756
2007-10-29only put C++ files in the final-file (maybe I should use ↵Alexander Neundorf
GET_SOURCE_FILE_PROPERTY(LANGUAGE) for this) Alex svn path=/trunk/KDE/kdelibs/; revision=730753
2007-10-22allow enable-final on kdepimlibsCharles Samuels
svn path=/trunk/KDE/kdelibs/; revision=728169
2007-10-10install also index.cache.bz2 which is used by khelpcenterBurkhard Lück
CCMAIL:tsdgeos@terra.es svn path=/trunk/KDE/kdelibs/; revision=723587
2007-10-07do not depend only on index.docbook but on all docbooks to trigger recompilationAlbert Astals Cid
found while working on ktuberling docu svn path=/trunk/KDE/kdelibs/; revision=722511
2007-10-06dont install index.docbook twiceBurkhard Lück
CCMAIL:aacid@kde.org svn path=/trunk/KDE/kdelibs/; revision=721847
2007-10-04all docbooks have to be installed, not just index.docbookAlbert Astals Cid
svn path=/trunk/KDE/kdelibs/; revision=721224
2007-10-03fixes for KDE4_ADD_WIN32_APP_ICONRalf Habacker
- merged dir/pattern parameter into one parameter - implemented regular expression search for application icons - excluded icons with size 22x22, they are not allowed on windows - added a workaround for non working add_custom_command svn path=/trunk/KDE/kdelibs/; revision=720773
2007-09-27renamed KDE4_ADD_APP_ICON to KDE4_ADD_WIN32_APP_ICON based on alex requestRalf Habacker
svn path=/trunk/KDE/kdelibs/; revision=717545
2007-09-26Sometimes we name our manpage docbook files as "man-foo.docbook",Allen Winter
but the contents of that same file will say to generate a manpage called foo.1. (see <refentrytitle> in the docbook). So, we change the kde4_create_manpage() macro to do a s+/man-+/+ when creating the output file from the input file, i.e., man-foo.docbook becomes foo.1. The safer way would be to parse the docbook file, looking for the <refentrytitle> value. Then create the output file from that. Rather not, unless required later. svn path=/trunk/KDE/kdelibs/; revision=717431
2007-09-26Changes to the KDE4_CREATE_MANPAGE() macro:Allen Winter
- the section argument is now required - the output roff file goes into the builddir - now provides optional INSTALL_DESTINATION arguments, just like KDE4_CREATE_HANDBOOK() svn path=/trunk/KDE/kdelibs/; revision=717306
2007-09-26add an optional "section" argument to the KDE4_CREATE_MANPAGE() macroAllen Winter
svn path=/trunk/KDE/kdelibs/; revision=717265
2007-09-24Allow to put TEST arg as second argumentLaurent Montel
svn path=/trunk/KDE/kdelibs/; revision=716277