aboutsummaryrefslogtreecommitdiff
path: root/modules/FindKDE4Internal.cmake
AgeCommit message (Collapse)Author
2007-11-16Use the -Woverloaded-virtual compile option, if available.Allen Winter
OK'd on k-c-d. svn path=/trunk/KDE/kdelibs/; revision=737584
2007-11-14-change the install destinations for Windows: everything is relative to ↵Alexander Neundorf
CMAKE_INSTALL_PREFIX, modifying some dirs via the cache is no longer possible (because this is what the cmake code in kdelibs/CMakeLists.txt / the KDE4 win32 installer expects anyway Alex CCMAIL: ps_ml@gmx.de CCMAIL: ralf.habacker@freenet.de CCMAIL: Ch.Ehrlicher@gmx.de Patrick: can you please remove the LIB_INSTALL_DIR hack for win32 in the places where you added it ? It should now work everywhere automatically (because it is done now in FindKDE4Internal.cmake) Only issue: quotes must not be used around ${LIB_INSTALL_DIR}, because they turn the list of arguments into a string containing all the values Alex svn path=/trunk/KDE/kdelibs/; revision=736793
2007-11-12-fix error message for cygwinAlexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=735844
2007-11-12minor cosmetic changes: fix indentation (no tabs), don't test for WIN32 ↵Alexander Neundorf
twice in a row Alex M FindKDE4Internal.cmake svn path=/trunk/KDE/kdelibs/; revision=735843
2007-11-08temporary fix to add QT_NO_DEBUG in release mode to fix qt plugin compile on ↵Christian Ehrlicher
win32 http://lists.kde.org/?l=kde-buildsystem&m=119446327108889&w=2 svn path=/trunk/KDE/kdelibs/; revision=734116
2007-11-06Make __KDE_HAVE_GCC_VISIBILITY cached.Luboš Luňák
svn path=/trunk/KDE/kdelibs/; revision=733507
2007-10-30It's meinproc4Laurent Montel
svn path=/trunk/KDE/kdelibs/; revision=730940
2007-10-29-don't hardcode the include/lib dirs /usr/local/lib and /usr/local/include ↵Alexander Neundorf
for UNIX, they should be found by the various FIND_PACKAGE() calls Alex svn path=/trunk/KDE/kdelibs/; revision=730766
2007-10-22Goodbye, libkdeprint, how we loved thee.Alex Merry
svn path=/trunk/KDE/kdelibs/; revision=728266
2007-10-05Merged KIO::JobFlags branchDavid Faure
svn path=/trunk/KDE/kdelibs/; revision=721447
2007-10-02extract kpty* into an own libOswald Buddenhagen
svn path=/trunk/KDE/kdelibs/; revision=720322
2007-10-02kdefx is dead. Long live... something that is not kdefx :-).Matthew Woehlke
Here's to hoping I found all the users first. I sure tried. svn path=/trunk/KDE/kdelibs/; revision=719903
2007-10-01There is no reason to export KDE4_APPLNK_INSTALL_DIR to the outside; define ↵David Faure
it only within kdelibs (so that KStandardDirs can look there for compatibility), but don't tempt people into installing new stuff into that dir. svn path=/trunk/KDE/kdelibs/; revision=719613
2007-09-26update the documentation for KDE4_CREATE_HANDBOOK() and KDE4_CREATE_MANPAGE().Allen Winter
svn path=/trunk/KDE/kdelibs/; revision=717432
2007-09-26install manpages and infopages into destdir/shareAllen Winter
svn path=/trunk/KDE/kdelibs/; revision=717270
2007-09-14fix confusing typo, it's kconfig_compilerFrank Osterfeld
svn path=/trunk/KDE/kdelibs/; revision=712346
2007-09-11some minor win32 fixRalf Habacker
svn path=/trunk/KDE/kdelibs/; revision=711192
2007-09-11win32 fix: KDE and QT install dir's are determined on runtime not install ↵Ralf Habacker
time, a patch fixing KDELibsDependencies.cmake will follow svn path=/trunk/KDE/kdelibs/; revision=711114
2007-08-20Use FIND_PACKAGE_HANDLE_STANDARD_ARGSLaurent Montel
Fix typo svn path=/trunk/KDE/kdelibs/; revision=702150
2007-08-15-fix indentationAlexander Neundorf
-remove old macros which failed with SEND_ERROR since several weeks already -deprecated KDE4_CREATE_HTML_HANDBOOK() and added option KDE4_ENABLE_HTMLHANDBOOK instead, if enabled, you get targets "htmlhandbook", which can be used to create the html docs Alex CCMAIL:winter@kde.org Tip of the day: using "make edit_cache" you can easily change cmake settings svn path=/trunk/KDE/kdelibs/; revision=700205
2007-08-03also search in the kde4 install dirsAlexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=695827
2007-08-03-more default search paths: always also search in the current install prefix ↵Alexander Neundorf
and also in the directory where the current cmake is installed Alex svn path=/trunk/KDE/kdelibs/; revision=695825
2007-08-03-don't load KDELibsDependencies.cmake twiceAlexander Neundorf
-use the project specific kdelibs_SOURCE_DIR and kdelibs_PROJECT_DIR variables to detect whether we are compiling kdelibs -some cosmetics Alex svn path=/trunk/KDE/kdelibs/; revision=695821
2007-07-24Add KDE4_UPDATE_ICONCACHE() macro and call it from KDE4_INSTALL_ICONS()Rivo Laks
svn path=/trunk/KDE/kdelibs/; revision=691973
2007-07-23ok, this is a hack to make update-mime-database work again. We need to find ↵Christian Ehrlicher
a better solution with all those paths... CCMAIL: kde-windows@kde.org svn path=/trunk/KDE/kdelibs/; revision=691498
2007-07-23change XDG_APPS_DIR -> XDG_APPS_INSTALL_DIR, ↵Laurent Montel
XDG_DIRECTORY_DIR->XDG_DIRECTORY_INSTALL_DIR, DBUS_INTERFACES_DIR->DBUS_INTERFACES_INSTALL_ DIR, DBUS_SERVICES_DIR->DBUS_SERVICES_INSTALL_DIR to have same naming convention as discussed with Alex. Fix into khtml cmakefile to try to fix enable-final (generate khtml_final_cpp.cpp before to use it) svn path=/trunk/KDE/kdelibs/; revision=691212
2007-07-23move the mimetype update macro to FindSharedMimeInfo.cmake, since it belongs ↵Alexander Neundorf
to this stuff and not really to KDE4 Alex svn path=/trunk/KDE/kdelibs/; revision=691173
2007-07-18win32 fix: make sure no dll is build using auto-import because it makes ↵Ralf Habacker
trouble in some cases svn path=/trunk/KDE/kdelibs/; revision=689445
2007-07-12-instead of simply removing KDE4_AUTOMOC(), it is better to make it just do ↵Alexander Neundorf
message(SEND_ERROR), so the user gets a useful error message instead of suddenly "unknown command" -same for KDE4_INSTALL_LIBTOOL_FILE() -also remove the docs for both macros from FindKDE4Internal.cmake Alex svn path=/trunk/KDE/kdelibs/; revision=686696
2007-07-11-use ${KDE4_KDECONFIG_EXECUTABLE} coming from FindKDE4.cmake instead of just ↵Alexander Neundorf
calling kde4-config which might be the wrong one or not in the path at all -some more qoutes can't hurt for dirs with spaces -use EXECUTE_PROCESS() instead of EXEC_PROGRAM() since this can separate stdout and stderr Alex svn path=/trunk/KDE/kdelibs/; revision=686304
2007-07-10added support for searching cmake modules in all given kde install locations ↵Ralf Habacker
(KDEDIRS based) svn path=/trunk/KDE/kdelibs/; revision=686007
2007-07-09As posted to kde-buildsystem:Matthias Kretz
I replaced kde4automoc.cmake with a C++/QtCore based program that can run more efficient. Instead of creating a <targetname>.automoc file that is added to the target I create a <targetname>_automoc.cpp file now that is compiled and linked into the target. This file #includes all moc files that are not included by other source files. This way the automoc can, at make-time, decide what mocs need to be compiled explicitly and linked into the target. E.g. the following is possible now: foo.h: class A : public QObject { Q_OBJECT ... }; foo.cpp does not #include "foo.moc" run make - everything compiles and links fine (without mentioning the header in KDE4_MOC_HEADERS either since the new automoc looks at all corresponding header files from the .cpp files by itself) now change foo.cpp to #include "foo.moc" running make now will just work, even with the /fast target. Next change I did was to create a <targetname>_automoc.cpp.files file to pass the moc includes and the source files that belong to the target to the automoc. I could have kept it on the command line but I got a report that the command line was already too long for Windows' cmd.exe. Implementation details: - The messages of the automoc are written using cmake -E cmake_echo_color, so the automoc correctly colorizes its messages now. - The moc QProcesses are started in parallel (up to 10). svn path=/trunk/KDE/kdelibs/; revision=685719
2007-06-24Fix the kde4_add_test_executable macro by setting EXECUTABLE_OUTPUT_PATH andAndreas Pakulat
add a convience define to not have to install xmlgui and other files. Adapt knotify and kdeui tests to this change (remove the extra add_definitions there) svn path=/trunk/KDE/kdelibs/; revision=679803
2007-06-22fatal error if KDE wants to compile with -fvisibility=hidden but ↵Matthias Kretz
Q_DECL_EXPORT expands to nothing svn path=/trunk/KDE/kdelibs/; revision=678787
2007-06-22dos -> unixMatthias Kretz
svn path=/trunk/KDE/kdelibs/; revision=678786
2007-06-21beautifyAlexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=678277
2007-06-20win32 fix: use relative install prefix to avoid hardcoded install pathes in ↵Ralf Habacker
cmake_install.cmake files svn path=/trunk/KDE/kdelibs/; revision=678005
2007-06-20- added win32 packager supportRalf Habacker
- added explorer integration for easier access to the build environment (shell scripts with predefined pathes for mingw and nmake and msvc) svn path=/trunk/KDE/kdelibs/; revision=677974
2007-06-17As discussed on kde-buildsystem rename kde4_add_test toAndreas Pakulat
kde4_add_test_executable and introduce kde4_add_unit_test for unittests, which combines kde4_add_test_executable and cmake's add_test. Port the kdelibs module, the other modules will be comitted shortly. CCMAIL: kde-core-devel@kde.org svn path=/trunk/KDE/kdelibs/; revision=676857
2007-06-09small update for win32/msvc9Christian Ehrlicher
svn path=/trunk/KDE/kdelibs/; revision=673238
2007-06-08revert 'SET(CMAKE_DEBUG_POSTFIX "d")' for win32Christian Ehrlicher
-> the comment 'does not work atm' is corect... svn path=/trunk/KDE/kdelibs/; revision=672966
2007-06-08- splitted KDEWIN32 and GUNWIN32 module into KDEWIN and KDEWIN32, where ↵Ralf Habacker
KDEWIN sets include/library search path for all other modules and KDEWIN32 search for kdewin32 library in the found locations. svn path=/trunk/KDE/kdelibs/; revision=672805
2007-06-08-also put LIBEXEC_INSTALL_DIR into the dependencies fileAlexander Neundorf
-only reuse the install dirs from kdelibs if the current CMAKE_INSTALL_PREFIX equals the kdelibs install dir Alex svn path=/trunk/KDE/kdelibs/; revision=672766
2007-06-05rename KDE4_BUILD_TESTREQGRESSION to KHTML_BUILD_TESTREGRESSION and move it ↵Alexander Neundorf
to kdelibs/CMakeLists.txt Alex svn path=/trunk/KDE/kdelibs/; revision=671572
2007-05-30Patch requested by Coolo.Laurent Montel
" you configure kdelibs to CMAKE_INSTALL_PREFIX=/usr CONFIG_INSTALL_DIR=/etc/kde" "then you go to kdetoys and do CMAKE_INSTALL_PREFIX=/usr" cmake didn't use CONFIG_INSTALL_DIR. Now we store value into KDELibsDependencies.cmake and we can use directly. not necessary to re-specify CONFIG_INSTALL_DIR in each module. svn path=/trunk/KDE/kdelibs/; revision=669808
2007-05-24Add a flag for building testregression and some build instructions.Maks Orlovich
Thanks to dfaure and tronical for helping me out with the build systems! svn path=/trunk/KDE/kdelibs/; revision=668049
2007-05-21Ah! KDE4_INCLUDE_INSTALL_DIR is defined by KDELibsDependencies.cmakeDavid Faure
svn path=/trunk/KDE/kdelibs/; revision=666996
2007-05-21Revert - there's no such var; the proper fix for this looks a bit involved ↵David Faure
and needs testing; let's get Dirk going meanwhile. svn path=/trunk/KDE/kdelibs/; revision=666995
2007-05-21a bit more readable output. still can't build anything thoughDirk Mueller
svn path=/trunk/KDE/kdelibs/; revision=666993
2007-05-21After discut with Alex, it was just a pb with my cmakeLaurent Montel
cvs version. So revert it. It's defined now with official cmake version svn path=/trunk/KDE/kdelibs/; revision=666910