aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-06-12Upgrade ECM version to 5.12.0.l10n daemon script
2015-06-06Fix test on OSX, no bundle expected here.v5.11.0-rc1v5.11.0David Faure
CI said: Linking C executable dummy.app/Contents/MacOS/dummy Built target dummy Could not find path to executable, perhaps it was not built: dummy REVIEW: 123969
2015-05-18Add arguments to ecm_add_tests for listing added tests.Alex Merry
This makes it convenient to make further modifications to the tests, such as setting properties on either the tests or the targets. CHANGELOG: New arguments for ecm_add_tests(). BUG: 345797 REVIEW: 123841
2015-05-18Rework ECMAddTests documentation to emphasis ecm_add_tests().Alex Merry
ecm_add_test is the less useful (and less used) version of the functions (because you really might as well just use add_executable() and add_test() manually in that case). REVIEW: 123841
2015-05-16Revert "Add PROPERTIES argument to ecm_add_test and ecm_add_tests."Alex Merry
This reverts commit 0c224194ea7f12eaed32af746fc9138537f1919c. Stephen Kelly pointed out that this is probably not the best approach to the problem, and runs counter to the direction KDE's CMake code has been going (splitting functions up and using CMake built-ins where possible). I have a better solution in mind, which I'll post a review for later. CCMAIL: kde-buildsystem@kde.org CCBUG: 345797
2015-05-13Add PROPERTIES argument to ecm_add_test and ecm_add_tests.Alex Merry
This is particularly useful with ecm_add_tests, where you may want to force a suite of tests to run in serial, or alter the timeout for multiple tests at once. BUG: 345797 REVIEW: 123722
2015-05-13Add unit tests for ECMAddTests module.Alex Merry
REVIEW: 123722
2015-05-08Upgrade ECM version to 5.11.0.l10n daemon script
2015-04-26Port remaining find modules to ecm_find_package_version_check.v5.10.0-rc1v5.10.0Michael Palimaka
REVIEW: 123470
2015-04-19real fix for png2ico, pipe error stream also to result variablePatrick von Reth
2015-04-19execute png2icon --help with ERROR_QUIET, to prevent printing of banner from ↵Patrick von Reth
http://www.winterdrache.de/freeware/png2ico/
2015-04-10Upgrade ECM version to 5.10.0.l10n daemon script
2015-04-09Do not call lrelease with -compressLasse Liehu
According to Oswald Buddenhagen "it doesn't buy much, and there are some long-standing issues with it". Qt bug report: https://bugreports.qt.io/browse/QTBUG-44362 REVIEW: 122501
2015-04-04The next number after 1.8 is 5.9.v5.9.0-rc1v5.9.0David Faure
CHANGELOG: extra-cmake-modules versioning is now aligned with KDE Frameworks. Therefore the last release was 1.8, while this one is 5.9.
2015-04-04Upgrade ECM version to 1.9.0.l10n daemon script
2015-03-15Warn about icon filenames with leading characters.Alex Merry
Through a quirk of implementation, old-style icon filenames are accepted by the new-style ecm_install_icons function. It's too late to change it now, as that would break existing projects, but we can warn about it. REVIEW: 122941
2015-03-13Allow configuration of SHARE_INSTALL_DIRHeiko Becker
The motivation behind this change is my distribution moving to a multiarch layout. While the architecture specific stuff (binaries, libraries, etc.) is installed under /usr/${host}/{bin,lib,...} architecture-independent data should still be installed to /usr/share/. REVIEW: 122929 From 014d2166e08cbe6f350a8600a93c8f132ee95661 Mon Sep 17 00:00:00 2001 From: Heiko Becker <heirecka@exherbo.org> Date: Fri, 13 Mar 2015 12:26:31 +0100 Subject: [PATCH] Allow configuration of SHARE_INSTALL_DIR
2015-03-09Fix tab characters in regexes.Alex Merry
There is no "\t" in CMake's regular expression syntax; we need to make the character be interpreted when CMake parses it as a string.
2015-03-06Use lconvert path from Qt cmake config when on Qt >= 5.3.1v1.8.0-rc1v1.8.0Dmitry Shachnev
Qt5LinguistToolsConfig.cmake defines CMake target for lconvert since Qt 5.3.1, so we should use that if it is available. Our own hacks were not working in some configurations (i.e. when there is /usr/bin/lconvert managed by qtchooser, but no qtchooser configuration file). REVIEW: 122626
2015-02-28Improve ECMPackageConfigHelpers documentation.Alex Merry
In particular, strongly recommend looking at the equivalent CMake documentation with regard to PATH_VARS, as a lot of projects that should be making use of it are not.
2015-02-15Upgrade ECM version to 1.8.0.l10n daemon script
2015-02-15Extend ecm_generate_headers macro to also support CamelCase.h headersFriedrich W. H. Kossebau
REVIEW: 122317 Thanks alexmerry and dvratil for review
2015-02-11Add Debian path to search path for qtwaylandscannerJonathan Riddell
Debian likes to install qt binaries into an obscure path, search here as well REVIEW: 122526
2015-02-09Add comment to Android toolchain file.Aleix Pol
2015-02-06Minor: Cleanupv1.7.0-rc1v1.7.0Kevin Funk
2015-02-06Add Android toolchain module to the documentation.Alex Merry
2015-02-06Add missing documentation.Alex Merry
Three modules (ECMCoverageOption, ECMEnableSanitizers and ECMGeneratePkgConfigFile) were not being documented. This commit fixes that situation.
2015-02-06Document when modules were added to ECM.Alex Merry
2015-02-06Move Android toolchain module to ECMAleix Pol
Introduces the new Android toolchain file for being able to easily compile our cmake projects in Android, with an emphasis on Qt projects. CHANGELOG: New Android toolchain support module. REVIEW: 121545
2015-02-04Create an uninstall target by default in KDE projects.Alex Merry
REVIEW: 122359
2015-02-04Add a module to provide an uninstall target.Alex Merry
This is basically just the code available on the CMake FAQ item about `make uninstall`, but packaged up in a convenient module. REVIEW: 122359
2015-02-01Minor documentation syntax fixes.Alex Merry
2015-01-24Warn when mixing relative and absolute paths in KDEInstallDirs.Alex Merry
BUG: 341683 FIXED-IN: 1.7.0 REVIEW: 121999 CHANGELOG: KDEInstallDirs: warn about mixing relative and absolute installation paths on the command line
2015-01-24Revert "Add SameMajorVersionWithPreleases compat option to ecm_setup_version."Alex Merry
This reverts commit 959c374c022394a116e8ceb2b1fce2df11752068. I merged and pushed the wrong branch.
2015-01-24Add SameMajorVersionWithPreleases compat option to ecm_setup_version.Alex Merry
SameMajorVersionWithPreleases is intended implement the versioning scheme followed by many KDE projects: minor releases after some high number (eg: 90) are considered to be pre-releases of the next major version, and are not compatible with the current major version. This allows alpha and beta releases to be ordered correctly by version-number-aware software like package managers (an alpha of version 2 should have a higher number than any release of version 1, but less than version 2.0). So a request for version 2.1.0 of a piece of software should not be satisfied by 2.93.4, because that is actually a pre-release of version 3. On the other hand, a request for version 2.91.0 should be satisfied by version 3.1.0. Note that prereleases are not considered unless explicitly requested, so 2.93.4 will not satisfy requests for version 3 (or version 2) of a piece of software.
2015-01-24Add ecm_add_app_icon function.Alex Merry
This adds an application icon to an executable from PNG files for Windows and Mac OS X. Unlike the similar kde4_add_app_icon macro from kdelibs, this requires icons to be explicitly listed as arguments (meaning CMake can tell when ones are added or deleted and reconfigure as appropriate), and it works with Matthias Benkmann's png2ico tool, as well as the KDE-Win tool of the same name. Currently missing unit tests. Also completely untested (except that `make test` runs on Linux, so there are no obvious syntax errors). With thanks to Ralf Habacker for the inital work on porting kde4_add_app_icon. CHANGELOG: Add ECMAddAppIcon module to add icons to executable targets on Windows and Mac OS X.
2015-01-14Fix CMP0053 warning with CMake 3.1.Alex Merry
With CMake 3.1, @-style variable expansion is deprecated outside of configure_file() or string(CONFIGURE) contexts (CMP0053). This causes ecm_generate_pri_file() to produce dev warnings with this verison of CMake, and would break this function in projects that set CMake 3.1 as their required version. REVIEW: 121971
2015-01-13Stop lying in the KDEInstallDirs documentation.Alex Merry
2015-01-11Do not unset cache variables in KDEInstallDirs.Alex Merry
Cache variables such as CMAKE_INSTALL_BINDIR may be used by other modules included from parallel parts of the tree, so we should not touch them. We still override them in the runtime environment, but this will not interfere with parallel subtrees of the project. As part of this, the order of precedence of variables specified on the command line is changed, so that KDE_INSTALL_* is considered first (although it is still considered "undefined" in the documentation). This means that if you only specify CMAKE_INSTALL_BINDIR, that will be used by both KDEInstallDirs and GNUInstallDirs, but if you specify both that and KDE_INSTALL_BINDIR, KDEInstallDirs will use KDE_INSTALL_BINDIR instead. This is probably not too useful, but seems more useful than any other arrangement. BUG: 342717 REVIEW: 121982
2015-01-08Upgrade ECM version to 1.7.0.l10n daemon script
2015-01-07fix typo that lead to nearly empty KDE_INSTALL_TARGETS_DEFAULT_ARGS var on macChristoph Cullmann
2014-12-28Fix include directory change spotted by Hrvoje Senjan.v1.6.0-rc1v1.6.0Alex Merry
A previous commit inadvertantly changed the KF5 include prefix to kf5 (uppercase to lowercase).
2014-12-28Improve version file tests.Alex Merry
Mostly just refatoring to have less duplicated code.
2014-12-28Add deprecation warnings for old-style variables.Alex Merry
REVIEW: 121646
2014-12-28Refactor KDEInstallDirs tests.Alex Merry
REVIEW: 121646
2014-12-28Make KDEInstallDirs provide KDE_INSTALL_* variables.Alex Merry
Creating variables whose names start with CMAKE_ is a bad idea for modules distributed outside CMake itself. Since the module is called KDEInstallDirs, having a KDE_INSTALL_ prefix for the variables is clear and intuitive. Both CMAKE_INSTALL_* variables and the older KDELibs4-compatible variables are provided, unless KDE_INSTALL_DIRS_NO_DEPRECATED is set to TRUE before the module is included. Even then, the CMAKE_INSTALL_* variables provided by the GNUInstallDirs module will still be set and understood (for compatibility with that module), unless KDE_INSTALL_DIRS_NO_CMAKE_VARIABLES is set to TRUE. REVIEW: 121646
2014-12-28Fix formatting in ECMSetupVersion.cmake.Alex Merry
2014-12-28Add COMPATIBILITY argument to ecm_setup_version().Alex Merry
Lots of libraries will want to use SameMajorVersion to make sure searching for version 1 of a library doesn't give you version 2, for example. We may want to add another, custom compatibility mode for KDE Frameworks-style versioning, where version x.90.z to x.99.z are alpha/beta releases for version (x+1). REVIEW: 121696
2014-12-17Upgrade ECM version to 1.6.0.l10n daemon script
2014-12-07Fix ECMQueryQmake when Qt5Core is found.Alex Merry
81627ad86d3d7d5e5a7d130dfc746d5b1b58cbe7 broke the case where Qt5 qmake is not in the path or not called qmake-qt5, because it stopped using the location of qmake as provided by the Qt5Core CMake module when found.