aboutsummaryrefslogtreecommitdiff
path: root/ECMConfig.cmake.in
AgeCommit message (Collapse)Author
2019-07-23Provide a more sensible CMAKE_INSTALL_PREFIX defaultAleix Pol
Summary: If no prefix is passed, use ECM's by default, instead of defaulting to /usr/local which isn't optimal in any case. Reviewers: cgiboudeaux Reviewed By: cgiboudeaux Subscribers: cgiboudeaux, kde-frameworks-devel, kde-buildsystem Tags: #frameworks, #build_system Differential Revision: https://phabricator.kde.org/D22676
2017-08-09Set CMAKE_*_OUTPUT_DIRECTORY to run tests without installing.David Faure
Summary: For compatibility reasons, this is only enabled when projects upgrade their find_package(ECM) line to request a version >= 5.38. A little bit like cmake policies: just upgrading ECM is compatible, while increasing the required version can change behaviour. Test Plan: Tested make test in all KF5 frameworks; I have patches for some of them which I can't commit until this is in. Reviewers: cgiboudeaux, kfunk Reviewed By: cgiboudeaux, kfunk Subscribers: kfunk, #frameworks, #build_system Tags: #frameworks, #build_system Differential Revision: https://phabricator.kde.org/D7198
2015-11-22Overhaul the ECM build system.Alex Merry
It should now be easier to read, and more featureful. Among other tweaks, we now print a summary of dependencies and build options, and the documentation is generated with more sensible breadcrumbs and builds properly with Sphinx 1.3. REVIEW: 126075
2014-08-06Remove Qt5 debugfull hack from ECMConfig.cmakeAlex Merry
The original purpose of this was to set the QT_NO_DEBUG macro if the old DebugFull configuration was used. We got rid of DebugFull (instead just using Debug), so it is no longer relevant, and this hack never belonged in ECMConfig.cmake anyway (it should have been in KDECompilerSettings). CHANGELOG: ECM now works when the required CMake version is set to 3.0.0 or higher, and does not require Qt5Core to be available. BUG: 331849 REVIEW: 119588
2013-08-27Don't define QT_NO_DEBUG for DebugFull builds.Stephen Kelly
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