aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-03-24Set the INTERFACE_INCLUDE_DIRECTORIES for all available Qt components.Stephen Kelly
Not only the ones explicitly searched for.
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-16Require the newest CMake.Stephen Kelly
2013-03-14Add support for xcb-keysyms to FindXCBMartin Gräßlin
Already used in kde-workspaces. REVIEW: 109479
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-03-14Add more convenient fragments until it appears upstream.Stephen Kelly
This in particular helps the Windows build when using cmake master.
2013-02-27Merge branch 'master' of git://anongit.kde.org/extra-cmake-modulesAlex Neundorf
2013-02-27increase version to 0.0.8Alex Neundorf
-port to CamelCased KF5 libs -add some documentation to FindKF5.cmake -get rid of KDEDIRS, introduce KF5_DIRS instead, a cmake-only variable, as supported by many Find-modules Alex
2013-02-27Add a check for the minimum compiler version.Stephen Kelly
2013-02-21Add 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-15Fix FindLibUSB1Yury G. Kudryashov
- set properties on LibUSB1, not USB1 - use LibUSB1_ prefix, not LIBUSB1_ - except for _FOUND, see FPHSA REVIEW:108954
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-02-08some FindKF5.cmake improvements, increase to version 0.0.7Alex Neundorf
- added some docs - now a KF5_INCLUDE_DIRS variable is set, containing all requested include dirs - the same for KF5_LIBRARIES - some more status reporting Alex
2013-02-07-add kjs to the know tier1 libsAlex 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-25Populate INTERFACE properties of Qt targets here until upstream does it.Stephen Kelly
2013-01-19Remove reference to inqt5 which was always bogus.Stephen Kelly
2013-01-16 remove -Wl,--disable-auto-import on mingwPatrick von Reth
2012-12-12Enable all deprecated API.Stephen Kelly
2012-12-12Add variables for the QtDeclarative library.Stephen Kelly
2012-12-12Set CMAKE_POSITION_INDEPENDENT_CODE if required.Stephen Kelly
2012-12-12Populate the QT_LIBRARIES variable.Stephen Kelly
2012-12-12QtWebkit is now split in QtWebKit and QtWebKitWidgetsJon Severinsson
Make FindQt5Transitional.cmake handle this transparently. REVIEW: 107438
2012-11-25-fix: ecm_setup_version() has no multi-value argumentsAlex Neundorf
Alex
2012-11-24Merge branch 'master' of git://anongit.kde.org/extra-cmake-modulesAlex Neundorf
2012-11-24Explicitly specify the minimum required Qt version here.Volker Krause
This prevents a subsequent find_package(Qt4) call (e.g. contained inside FindKDE4Internal.cmake) from failing with incomplete version information.
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-10-31Rename file and macro for consistency, as requested by Alexander.David Faure
"Can you please rename it to ECMDBusAddActivationService.cmake and the contained macro to ecm_dbus_add_activation_service(), so it follows the naming conventions in cmake (macro has the same name as the file) and ecm (all macros have the prefix ecm)." -> Done. Nothing to adapt in kdelibs-frameworks yet, it has its own copy for now (I'll get rid of it at the next ECM version upgrade).
2012-10-31Add XCB find modules by Fredrik Höglund <fredrik@kde.org>David Faure
At least one bug: XCB_INCLUDE_DIR contains NOTFOUND if at least one module is missing (e.g. UTIL and EWMH, here), which makes XCB_FOUND false. Please review, and port to FIND_PACKAGE(XCB COMPONENTS ...) CCMAIL: kde-buildsystem@kde.org
2012-10-25QtQuick1 is renamed QtDeclarative.Stephen Kelly