aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-09-25Install the ECM man page into section 7Alex Merry
extra-cmake-modules is not a command, so it should not be in section 1 of the man pages. Section 7 (miscellanea) seems most appropriate. REVIEW: 105188
2012-09-16Fix generated version headersDavid Faure
My addition of major/minor/patch included a copy/paste error (double-quotes) and the all-in-one version number (like QT_VERSION and KDE_VERSION) was missing, added now.
2012-09-06Move kde plugins from lib/kde5 to lib/plugins/kf5David Faure
And qt plugins from lib/kde5/plugins to lib/plugins.
2012-09-04Add the macro dbus_add_activation_service to ECM.David Faure
Wrote full docu for it, and then aseigo pointed me to a wiki page that had it all already... http://techbase.kde.org/Development/Tutorials/D-Bus/Autostart_Services
2012-09-03Generate major/minor/patch versions too, for #if tests.David Faure
(and for plugin-loading version number handling)
2012-08-17Enable the additional GCC compiler flags on all systems.Raphael Kubo da Costa
There was no reason to add more flags only on Linux/Hurd; in fact, in kdelibs' FindKDE4Internal.cmake there's also a block with similar settings for the BSDs. Make it more general by removing the system checks before setting these flags. -Wno-long-long is particularly needed when one is building code with -pedantic (see picmi, for example). CCMAIL: kde-buildsystem@kde.org
2012-08-17Drop -ansi from the default CXXFLAGS.Raphael Kubo da Costa
In preparation for making having the default CXXFLAGS available on all systems using GCC instead of only Linux/Hurd, remove -ansi from the CXXFLAGS. strtoll(3), used, for example, in kdelibs, is part of C99; -ansi means GCC will switch to C89 and C++98, which breaks things on systems such as FreeBSD. It worked on glibc-based systems because libstdc++ always defines _GNU_SOURCE on Linux, which ends up enabling additional features. This change should not break existing code, as dropping -ansi actually means being less strict than before. Discussed in the kde-buildsystem mailing list [1]. [1] http://lists.kde.org/?t=134482883000001&r=1&w=2 CCMAIL: kde-buildsystem@kde.org
2012-08-16Do not pass -lc to the compiler on BSD systems.Raphael Kubo da Costa
It is not completely clear why this flag was being specified in the first place: it was added in the commit that created FindKDE4.cmake (KDE SVN r497283), and seems to have been ported automatically from the autotools code. In autotools, its origins can be tracked back to KDE SVN r141814, which was a libtool update. In that case, -lc was only passed on AIX systems anyway.
2012-08-16Do not define _GNU_SOURCE on BSD systems.Raphael Kubo da Costa
This macro only makes sense on glibc-based systems, which honour that definition according to feature_test_macros(7).
2012-08-14-increase version number to 0.0.5 (to make it possible to require 0.0.5 in ↵Alex Neundorf
kdelibs for the new file ECMWriteVersionHeader.cmake) Alex
2012-08-14Require CMake 2.8.9.Stephen Kelly
2012-08-13-add function ecm_write_version_header(<outputfile>) which generates a ↵Alex Neundorf
foo_version.h The plan is strip this out of ECMQtFramework.cmake, then ECMQtFramework.cmake will be basically only deal with those Config.cmake files. Alex
2012-08-04Update list of modules at tier 1 and tier 2 of frameworks.George Goldberg
2012-07-25Add backwards compatibility for Qt 5 IMPORTED executablesStephen Kelly
2012-06-20comment...Alex Neundorf
Alex
2012-06-20List the OpenGL module too.Stephen Kelly
2012-06-20Make non-gui executables by default and provide a function to reverse it.Stephen Kelly
2012-05-23unset all output directories explicitely, except under WindowsAlex Neundorf
Alex
2012-05-23use ${INSTALL_TARGETS_DEFAULT_ARGS} from KDEInstallDirs.cmakeAlex Neundorf
Alex
2012-05-16Set the _FOUND variable correctly for modules.Stephen Kelly
2012-05-13FindKF5: make actual component-finding workAlex Neundorf
Alex
2012-05-13fix RPATH handlingAlex Neundorf
- we need to make sure that the install dir we are looking at is an absolute path - there was a typo in one of the variable names, it was never right Alex
2012-05-13search inqt5 in FindQt5TransitionalAlex Neundorf
Since this is stuff which is in Qt5, we search inqt5 automatically when we hit the Qt4 path. Except if FindQt5Transitional is called from building kdelibs or inqt5 itself, and also not if it has already been found (happens in QtMimeTypes) Alex
2012-05-12remove LIBRARY_TYPE cmake variableAlex Neundorf
As discussed, remove the LIBRARY_TYPE cmake variable and put BUILD_SHARED_LIBS instead into the cache, set to TRUE. So if somebody wants to build a static library, and the project allows it (by not explicitely using "STATIC" in add_library()), he can switch this variable to FALSE in the cache. Also, put the ARCHIVE library component into the Devel install component, static libs and Windows lib files belong to the development package. Use newer write_basic_package_version_file() instead of older write_basic_config_version_file(), which are identical beside the name Alex
2012-05-12-remove reference to the Use-file, it is not generated anymoreAlex Neundorf
Alex
2012-05-12add FindKF5.cmake for finding KF5 libsAlex Neundorf
Alex
2012-05-12rework of extra-cmake-modulesAlex Neundorf
-rename the cmake package from extra-cmake-modules to ECM -change variable names and docs accordingly -move setting of Qt-related defines from ECMQtFrameworks.cmake to KDECompilerSettings.cmake -remove ECMSetVersionVariables.cmake, we'll do it some other way -rename ECMConfig.cmake.in to ECMQtFrameworkConfig.cmake.in, since this is where it is used, and it would have the same name as ECMConfig.cmake.in which is for extra-cmake-modules itself Alex
2012-05-10Make it possible to build with Qt 5 again.Stephen Kelly
2012-05-08-move FindQt5Transitional to the find-modules/ directoryAlex Neundorf
Alex
2012-05-08-add logic to handle components which exist in Qt5 but not in Qt4Alex Neundorf
Alex
2012-05-07don't generate and install a Use-file anymoreAlex Neundorf
As discussed with Stephen on kde-frameworks-devel Alex
2012-04-19require cmake 2.8.8 nowAlex Neundorf
Alex
2012-04-18QDBus macros are now in the QDBus module. No need for QDBusTools.Stephen Kelly
2012-04-11Add forwarding macro for qt4_wrap_cpp.Stephen Kelly
2012-04-10QtGui doesn't depend on QtXml.Stephen Kelly
2012-04-10Make it easier to build for Qt5.Stephen Kelly
No longer need to set an option.
2012-03-21kde4 -> kde5 in the subdir namesDavid Faure
2012-03-17remove documentation of already-removed dirDavid Faure
2012-03-15Fix default install dirsDavid Faure
including applying fixes I made to FindKDE4Internal but got lost in the conversion: * Use XDG dir for config files * Make the "data" resource point to share rather than share/apps, in order to match XDG_DATA_DIRS and QStandardPaths::GenericDataLocation. Also, move autostart to the xdg path (etc/xdg/autostart).
2012-03-04Generate the version file in the project binary dir.Stephen Kelly
2012-02-22-adding double quotes to make sure the commands don't failAlex Neundorf
Alex
2012-02-21Make this work with find_package(... REQUIRED).Stephen Kelly
2012-02-21Qt5Declarative and Qt5Quick are actually incompatibleStephen Kelly
They can't be used together.
2012-02-21replaced with VERSION_LESS / VERSION_GREATER.David Faure
Documented in http://techbase.kde.org/Development/ECM_SourceIncompatChanges#MacroEnsureVersion.cmake
2012-02-19-Werror=return-type is unrelated to the visibility testing stuffAlex Neundorf
Alex
2012-02-18-make it work with cmake 2.8.7, i.e. warn only instead of failingAlex Neundorf
Alex
2012-02-18-make use of the new KDE cmake modules in ECMQtFrameworkAlex Neundorf
ECMQtFramework.cmake now uses - KDEInstallDirs.cmake, so it doesn't have to define th install locations itself anymore - KDECompilerSettings.cmake, so it gets the full set we had in kdelibs4 - KDECMakeSettings, so it gets the full set of cmake features as before, and some more, RPATH, etc. Alex
2012-02-18-add CMAKECONFIG_INSTALL_PREFIX (lib/cmake/ )Alex Neundorf
Alex
2012-02-18-add fix from Rex Dieter to not add directories from ↵Alex Neundorf
CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES to the RPATH Alex
2012-02-18-add more settings to KDECMakeSettings.cmakeAlex Neundorf
Alex