aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-07-13don't show an extra console on WindowsMatthias Kretz
svn path=/trunk/KDE/kdelibs/; revision=687517
2007-07-13only pass C++ source files to kde4automocMatthias Kretz
svn path=/trunk/KDE/kdelibs/; revision=687273
2007-07-13kde variable is not defined at the begining into kdelibsLaurent Montel
and if we search directly into include_install_dir Remove old compatibility variable svn path=/trunk/KDE/kdelibs/; revision=687269
2007-07-12-remove a lot of code duplication for the icon stuff by using "maps" instead ↵Alexander Neundorf
of if/endif, this should even make it extendable for 3rd party themes Alex svn path=/trunk/KDE/kdelibs/; revision=687034
2007-07-12Fix the build, by installing the new kde4automoc.files.in fileAndreas Pakulat
svn path=/trunk/KDE/kdelibs/; revision=686887
2007-07-12Use configure_file instead of file(write ...) so that the file is only touchedMatthias Kretz
when it really changes. Now the automoc target may depend on that file and doesn't have to depend on CMakeLists.txt anymore. svn path=/trunk/KDE/kdelibs/; revision=686821
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-11Remove the no-op KDE4_AUTOMOC() macro.Allen Winter
This call should be removed from all CMakeLists.txt file now. If I missed some, and you encounter problems, simply remove the call yourself from the offending CMakeLists.txt file. svn path=/trunk/KDE/kdelibs/; revision=686496
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-10fix HAVE_ALSAFrank Osterfeld
svn path=/trunk/KDE/kdelibs/; revision=685954
2007-07-10remove unnecessary default search dirsAlexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=685920
2007-07-09Duplicate from cmake module which inform when module is not install. I will ↵Laurent Montel
send an email to cmake dev but not today, it's very difficult to have an adsl connection in my hostel svn path=/trunk/KDE/kdelibs/; revision=685861
2007-07-09cmake touches all .files files which results in all automocs being rerun and ↵Matthias Kretz
the targets relinked. :-( Change the dependency back to the CMakeLists.txt file, still not great but a lot better. svn path=/trunk/KDE/kdelibs/; revision=685841
2007-07-09- use libasound to list virtual devices (I'm actually only interested in customMatthias Kretz
ones defined in e.g. ~/.asoundrc), currently still shows too much - adapt to Solid::AudioInterface change svn path=/trunk/KDE/kdelibs/; revision=685785
2007-07-09it's d4, not 4dFrank Osterfeld
svn path=/trunk/KDE/kdelibs/; revision=685741
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-07-09fix linebreaksFrank Osterfeld
svn path=/trunk/KDE/kdelibs/; revision=685713
2007-07-09build with mingwFrank Osterfeld
svn path=/trunk/KDE/kdelibs/; revision=685707
2007-07-07Move the kpgp library back to kdepim from kdepimlibs.Allen Winter
svn path=/trunk/KDE/kdelibs/; revision=684900
2007-07-07Dependancies was not correct.Laurent Montel
We didn't add all dependancy for all libraries. (Same for Win32 it was not correct because we didn't all depend) Now we generate file KDEPimLibsDependancy.cmake into kdepimlibs svn path=/trunk/KDE/kdelibs/; revision=684835
2007-07-06It's necessary to several packageLaurent Montel
(I will remove it into extragear next monday) svn path=/trunk/KDE/kdelibs/; revision=684567
2007-07-06Don't "FATAL" when package is not requiredLaurent Montel
svn path=/trunk/KDE/kdelibs/; revision=684463
2007-07-06Better to test on plasma.h, kpanelapplet.h is into kickerLaurent Montel
svn path=/trunk/KDE/kdelibs/; revision=684281
2007-07-05win32 fix: added non default search location using cmake option ↵Ralf Habacker
-DKDEPIMLIBS_DIR=<path> svn path=/trunk/KDE/kdelibs/; revision=683875
2007-07-05show message only in verbose modeMatthias Kretz
svn path=/trunk/KDE/kdelibs/; revision=683791
2007-07-04only be verbose when VERBOSE is setMatthias Kretz
svn path=/trunk/KDE/kdelibs/; revision=683467
2007-07-04- make automoc implicit (no kde4_automoc needed in CMakeLists.txt anymore, ↵Matthias Kretz
the macro now expands to nothing) - delay the automoc to make time - add KDE4_MOC_HEADERS macro that you can use to create moc_foo.cpp files that get compiled into the target, without you having to include the moc file in the .cpp file - automoc finds Q_OBJECT macros in .cpp files creates the .moc file from the .cpp file then - automoc allows both .moc and moc_foo.cpp style includes for qmake compatibility svn path=/trunk/KDE/kdelibs/; revision=683192
2007-07-03Fix compilation kdepim. library is renamed.Tom Albers
svn path=/trunk/KDE/kdelibs/; revision=682961
2007-07-03do not issue a FATAL_ERROR if the library was not found, and the module is ↵Pino Toscano
not REQUIRED svn path=/trunk/KDE/kdelibs/; revision=682901
2007-07-02Be silent if already foundLaurent Montel
svn path=/trunk/KDE/kdelibs/; revision=682336
2007-07-02Alex is right. Keep as "NOTFOUND" if not foundLaurent Montel
svn path=/trunk/KDE/kdelibs/; revision=682335
2007-07-02It's not into kdepimlibsLaurent Montel
svn path=/trunk/KDE/kdelibs/; revision=682241
2007-07-01Fix typoLaurent Montel
svn path=/trunk/KDE/kdelibs/; revision=682053
2007-06-30add variables for kleo and kpgp libs.Allen Winter
svn path=/trunk/KDE/kdelibs/; revision=681880
2007-06-30add a bunch of kdepimlibs libraries to the KDE4_KFOO_LIBS variables.Allen Winter
svn path=/trunk/KDE/kdelibs/; revision=681867
2007-06-28missing quotes for paths containing a spaceMatthias Kretz
svn path=/trunk/KDE/kdelibs/; revision=681349
2007-06-27MinorLaurent Montel
svn path=/trunk/KDE/kdelibs/; revision=681013
2007-06-27Tiny changes such as added unit test changes to preamble and spelling mistakesGavin Beatty
svn path=/trunk/KDE/kdelibs/; revision=680973
2007-06-26Fix typoLaurent Montel
svn path=/trunk/KDE/kdelibs/; revision=680418
2007-06-25moved here from kdebaseDirk Mueller
svn path=/trunk/KDE/kdelibs/; revision=680226
2007-06-25Fix make test, sorry for overlooking that one.Andreas Pakulat
svn path=/trunk/KDE/kdelibs/; revision=680131
2007-06-25needed outside kdebase/workspace, so move them to kdelibsDirk Mueller
svn path=/trunk/KDE/kdelibs/; revision=680109
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-24XSync extension.Luboš Luňák
svn path=/trunk/KDE/kdelibs/; revision=679787
2007-06-23Fix logic (When we don't find mini version of libLaurent Montel
we must exit) svn path=/trunk/KDE/kdelibs/; revision=679228
2007-06-22make the automoc script work with moc_<filename>.cpp style moc includes for ↵Matthias Kretz
qmake compatibility svn path=/trunk/KDE/kdelibs/; revision=678809
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-21SVN_SILENT typosJarosław Staniek
svn path=/trunk/KDE/kdelibs/; revision=678586