aboutsummaryrefslogtreecommitdiff
path: root/kde-modules
AgeCommit message (Collapse)Author
2014-01-04remove compat var; moved up to kde4supportv0.0.9David Faure
2013-12-17Do not break kdelibs build while we can't commit to itplasma2tpAurélien Gâteau
2013-12-17Rename KDE4_ENABLE_EXCEPTIONS to KDE_ENABLE_EXCEPTIONSAurélien Gâteau
REVIEW: 114501
2013-12-14Split Frameworks only definitions to a new fileAlbert Astals Cid
2013-12-12Install all includes in a KF5 dirAurélien Gâteau
REVIEW: 114336
2013-11-24Manually merge daa54a252 from kdelibs into this file.David Faure
Please check... CCMAIL: rakuco@FreeBSD.org
2013-11-02Enable C++11 support by default.Volker Krause
REVIEW: 113373
2013-10-27Qt doesn't disable the native wchar_t type any more, so also don't do it for ↵Sune Vuorela
the kde libs.
2013-10-11Comment out the CMAKE_LINK_INTERFACE_LIBRARIESStephen Kelly
2013-10-11Resolve policy error when CMake requirement is 2.8.12.Stephen Kelly
2013-10-11Add the INCLUDE_INSTALL_DIR to the INTERFACE_INCLUDE_DIRS or all frameworks.Stephen Kelly
This is a new feature in CMake 2.8.12.
2013-09-20Make add_library(...MODULE...) a proper replacement for kde4_add_pluginAleix Pol
One of the most important things kde4_add_plugin was doing was stripping MODULE targets from its prefix. This change makes it so those targets won't get the prefix by default. REVIEW: 112839
2013-08-22Remove obsolete setting.Stephen Kelly
This is the old name for the setting below it. The old name was never in a release.
2013-08-21CompilerSettings: Add a separate block for clang definitions.Raphael Kubo da Costa
Sharing compiler settings between GCC and clang does not always work: there are flags (such as "-fno-check-new" or "-fno-reorder-blocks") that are specific to GCC, and nothing stops these incompatibilities from becoming bigger in the future. Conversely, a separate clang block allows us to pass some additional flags to clang that would have required yet another if() in the GCC block. For now, this amounts to "-fdelayed-template-parsing". (For KDE4, we also need -Wno-return-type-c-linkage because kdepim's ktexteditorkabcbridge.cpp exports a function that returns a QString with C linkage, but I hope this can be solved in a different way for kdepim5). Last but not least, checks for bad GCC allocators or support for some flags which are always present in clang can be avoided altogether when we know the compiler we are using. REVIEW: 112136
2013-07-24Add Clang support to KDECompilerSettings.cmakeMilian Wolff
This more or less copies what was done for KDE4 in https://git.reviewboard.kde.org/r/111612/. With the changes applied I successfully installed a hello world application. The linker and compiler command lines seem to be correct and include all extended features. I also checked and debugfull also works as expected (-g3 is added). REVIEW: 111661
2013-06-20Disable signals and slots macros, but not "emit", which is perfectly fine.David Faure
2013-06-20Forwardport a95c696ef1520339c6 from kdelibs.David Faure
Author: Andrius da Costa Ribas <andriusmao@gmail.com> Date: Sat Jun 15 09:51:41 2013 -0300 Patch CMake files for Intel compiler support on win32.
2013-04-20Remove some obsolete stuff.Stephen Kelly
2013-04-20Remove FILE_OFFSET_BITS definition.Stephen Kelly
It is only needed for users of kde_file, so more it to a more relevant place.
2013-03-19Set the CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE variable.Stephen Kelly
The CMAKE_BUILD_INTERFACE_INCLUDES is about to be renamed to that name. The old name can be removed when we require a newer CMake.
2013-03-16Remove some settings which are no longer needed with CMake 2.8.11.Stephen Kelly
2013-03-14Guard use of set(CACHE CMAKE_BUILD_TYPE)Stephen Kelly
On multi-config generators, that variable is not set, so cmake fails on it.
2013-02-27Add a check for the minimum compiler version.Stephen Kelly
2013-02-19Remove configure check for -fPIE.Stephen Kelly
CMake already knows the flag to use, and it is not always -fPIE. See the output of git grep CMAKE_C_COMPILE_OPTIONS_PIE in cmake for example. Therefore, there's no need to issue a message either.
2013-02-19Update comment with info about why this exists.Stephen Kelly
http://thread.gmane.org/gmane.comp.kde.devel.buildsystem/7727
2013-02-19Remove check for GCC < 4.3.Stephen Kelly
The only use of this was removed recently in 93457e172cf17a442938614cca1862a2dcfd889f
2013-02-19Remove logic for GCC < 4.2.Stephen Kelly
Qt 5 does not support it.
2013-02-19Remove visibility flags.Stephen Kelly
These are already set by add_compiler_export_flags which is invoked below.
2013-02-19GCC 4.1 is not supported by Qt 5.Stephen Kelly
It is not clear whether the allocator is still 'bad' in more-recent GCC versions, but let's pretend we know it is.
2013-02-18remove -Wl,--disable-auto-import from mingw optionsAlex Neundorf
Same as 21c3f0bed3b758baefb9b760efb0c2dd by Patrick von Reth in kdelibs. He says: "dont disable auto-import, to make it possible to build with a newer mingw which doesnt have proper exports for c++ standart libs The problem occurs with all gcc versions newer then 4.4. In preparation for Qt5 I started to work with newer builds, currently 4.7.2. The change should not have any negative effects on 4.4 and earlier versions, but is essential to make it build with a newer version." Alex
2013-02-16enable position independent code if required by QtAlex Neundorf
This can be removed once we require cmake 2.8.11, then it will work automatically. Alex
2013-02-16Qt5 does not support QT_USE_IMPORTED_TARGETS anymoreAlex Neundorf
Alex
2013-02-16add some commentsAlex Neundorf
Alex
2013-02-16KDECompilerSettings: use information from Qt5Config.cmakeAlex Neundorf
Instead of testing for it, we can simply use the information provided by Qt5 config.cmake files Alex
2013-02-16...trying to fix jenkinsAlex Neundorf
Alex
2013-02-15-some compiler flags tweakingAlex Neundorf
-reenable the test for visibility in Qt -reenable the test for FILE_OFFSET_BITS=64 (... there may be maybe some embedded systems where this is not the case ?) -add -Wl,--disable-auto-import for mingw, we have that in FindKDE4Internal.cmake too Alex
2013-02-15cosmetics: fix indentationAlex Neundorf
Alex
2013-02-12QML_INSTALL_DIR points to LIB_INSTALL_DIR/qmlSebastian Kügler
This patch adds a variable QML_INSTALL_DIR, pointing to the location to install QtQuick2 imports. These are co-installable with QtQuick 1.x, so we need both dirs. Naming is consistent with the path, so IMPORT is ditched from the name (the path doesn't have imports in it anymore). REVIEW:1088889
2013-02-09Remove -fno-threadsafe-statics.David Faure
<thiago> that's an C++11-violating option. Time to stop using it. (and Qt5.1's Q_GLOBAL_STATIC relies on it)
2013-02-09KDECMakeSettings: enable testing by defaultAlex Neundorf
Alex
2013-02-08-better comment (from plasma-framework)Alex Neundorf
Alex
2013-01-25Use the CMAKE_LINK_DEPENDS_NO_SHARED feature.Stephen Kelly
This only has an effect with CMake 2.8.11.
2013-01-25Populate the INTERFACE_INCLUDE_DIRECTORIES of all built targets.Stephen Kelly
This will only have an effect with CMake 2.8.11, but until then, it does no harm.
2013-01-16 remove -Wl,--disable-auto-import on mingwPatrick von Reth
2012-11-23increase version to 0.0.6Alex Neundorf
This commit -adds the macro ecm_setup_version(), as proposed on the kde-frameworks list -sets CMAKE_INSTALL_DEFAULT_COMPONENT_NAME to ${PROJECT_NAME} if a project has been set -makes e-c-m require cmake 2.8.10.1 Alex
2012-11-23-we require cmake 2.8.9 here, so no need to support older versions hereAlex Neundorf
Alex
2012-09-06Move kde plugins from lib/kde5 to lib/plugins/kf5David Faure
And qt plugins from lib/kde5/plugins to lib/plugins.
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.