aboutsummaryrefslogtreecommitdiff
path: root/modules/FindKDE4Internal.cmake
AgeCommit message (Collapse)Author
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
2007-05-18Revert kconfig_compiler move, it's a devel toolDavid Faure
svn path=/trunk/KDE/kdelibs/; revision=665848
2007-05-17revert my change for win32 libexec and instead point LIBEXEC_INSTALL_DIR to ↵Andreas Pakulat
BIN_INSTALL_DIR on win32 svn path=/trunk/KDE/kdelibs/; revision=665787
2007-05-15-add comment why find_xxx() is called twiceAlexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=664860
2007-05-14Move kconfig_compiler to libexecDavid Faure
Mention bug in FindKDE4Internal when people try configuring a module with a prefix != kde prefix CCMAIL: kde-buildsystem@kde.org svn path=/trunk/KDE/kdelibs/; revision=664536
2007-05-07meinproc -> meinproc4David Faure
svn path=/trunk/KDE/kdelibs/; revision=662242
2007-05-03Add link to the bug reportThiago Macieira
svn path=/trunk/KDE/kdelibs/; revision=660843
2007-05-03disable -fno-threadsafe-staticsDirk Mueller
svn path=/trunk/KDE/kdelibs/; revision=660803
2007-05-02Revert - it's not always compiled.David Faure
-> it's not a standard KDE4_FOO_LIBS, it's a KMETADATA_LIBRARIES like any 3rd-party lib we have to check the existance of. svn path=/trunk/KDE/kdelibs/; revision=660321
2007-05-02Let's be consistent with the rest of FindKDE4Internal: renamed to KMETADATA_LIBSDavid Faure
svn path=/trunk/KDE/kdelibs/; revision=660314
2007-05-01Add new cmake variableLaurent Montel
svn path=/trunk/KDE/kdelibs/; revision=659893
2007-05-01Add new cmake kde4 macroLaurent Montel
svn path=/trunk/KDE/kdelibs/; revision=659888
2007-04-30merge phonon-solid-sprint working branch - minus phonon and solid subdirsMatthias Kretz
svn path=/trunk/KDE/kdelibs/; revision=659749
2007-04-30Merge libkwalletclient into libkdeui (since it only requires kdecore + ↵David Faure
qtgui); a lib for one class (which kio uses anyway) is overkill. svn path=/trunk/KDE/kdelibs/; revision=659626
2007-04-20KDE4_INCLUDE_INSTALL_DIR is not defined but INCLUDE_INSTALL_DIR is definedLaurent Montel
svn path=/trunk/KDE/kdelibs/; revision=656153
2007-04-16we have core and ui where ui is optional.Sebastian Sauer
svn path=/trunk/KDE/kdelibs/; revision=654406
2007-04-02Need to define this, to link knewstuffDavid Faure
svn path=/trunk/KDE/kdelibs/; revision=649531
2007-04-02- it's called KNS2 now, we want old code to fail on purpose instead of by ↵Josef Spillner
accident svn path=/trunk/KDE/kdelibs/; revision=649500
2007-04-02Define KDE4_KDE3SUPPORT_LIBS while building kdelibs too, and the upcoming ↵David Faure
kfile lib svn path=/trunk/KDE/kdelibs/; revision=649201
2007-03-31Split sonnet between kdeui/kdecore ok'ed in januaryLaurent Montel
It will allow to add spellchecking into ktextedit New sonnet organization ok'ed by David. libsonnetcore/libsonnetui is removed now. svn path=/trunk/KDE/kdelibs/; revision=648519
2007-03-30Changed the services and servicetypes directories to "kde4/services" and ↵David Faure
"kde4/servicetypes" so that we never try to use a kde3 KPart into a kde4 application, and vice versa, and to avoid conflicts when installing both into the same prefix. This solution also leaves room for prepending a kde4/ in front of other resources if needed... maybe most of them, apart from those that affect $KDEHOME too (like config and data...) CCMAIL: kde-core-devel@kde.org svn path=/trunk/KDE/kdelibs/; revision=648276
2007-03-29Remove kxmlcore library tests. This library is gone.Brad Hards
OK'd by David Faure. svn path=/trunk/KDE/kdelibs/; revision=647752
2007-03-28Now we requires qt4.3Laurent Montel
Please update your qt-copy/tarball Regards svn path=/trunk/KDE/kdelibs/; revision=647419
2007-03-26allow to use KDE4_PHONONUI_LIBS in kdelibsMatthias Kretz
svn path=/trunk/KDE/kdelibs/; revision=646669
2007-03-19-require CMake 2.4.5Alexander Neundorf
-minor cleanups Alex svn path=/trunk/KDE/kdelibs/; revision=644423
2007-02-26There are a couple of places where we make "APPLE" assumptionsBenjamin Reed
when they really should be Q_WS_X11/Q_WS_MAC assumptions. These changes make it so that kdelibs (and probably the rest) build against qt4/x11 on Mac OS X safely. It should still work with qt4/mac as well. svn path=/trunk/KDE/kdelibs/; revision=637547
2007-02-20use "kde4" as prefix for application .desktop filesStephan Binner
svn path=/trunk/KDE/kdelibs/; revision=635677
2007-02-13don't include -finlines-visibility-hidden unless gcc is >= 4.2. just tooDirk Mueller
many bugs in older versions svn path=/trunk/KDE/kdelibs/; revision=633369