aboutsummaryrefslogtreecommitdiff
path: root/docs
AgeCommit message (Collapse)Author
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.
2014-10-19Wayland and QtWayland protocol scannersPier Luigi Fiorini
Add a couple of find modules for wayland-scanner and qtwaylandscanner. These modules find the respective executables and create a target that points to the executable. Targets are respectively Wayland::Scanner and Wayland::QtScanner. There are also macros to generate C protocols with wayland-scanner and C++ wrappers with qtwaylandscanner. REVIEW: 120034
2014-09-15add support for detecting libgit2 (with version check, API changes a lot)Christoph Cullmann
add FindLibGit2.cmake + doc link scripts tries to detect version not by pkgconfig to work on windows without pkgconfig, too REVIEW: 120196
2014-05-04Add ECMPoQmTools moduleAurélien Gâteau
ecm_create_qm_from_po_files() was actually not very useful in practice. So that is deprecated, to be removed before ECM 1.0. Instead, the ECMPoQmTools provides several useful functions: ecm_create_qm_loader() (which already existed in ECMCreateQmFromPoFiles), ecm_process_po_files_as_qm() (which has the same signature as gettext_process_po_files() from the FindGettext module) and ecm_install_po_files_as_qm(), which is a convenience function mostly for the benefit of KDE Frameworks (although potentially useful for whatever other projects have the unusual requirement of a Gettext translation workflow but no Gettext usage in the code). NB: some clean-up to the documentation was done by Alex Merry <alex.merry@kde.org> as part of this commit. REVIEW: 117823
2014-04-26Fix python error in ecm sphinx moduleAlex Merry
The ecm sphinx module occasionally tried to modify a list it was iterating over, which is a Bad Thing and raised an exception on the third or so time it was run without clearing the build directory.
2014-04-26Add a FindKF5.cmake moduleAlex Merry
REVIEW: 117780
2014-04-25Remove ECMDBusAddActivationService moduleAlex Merry
ecm_dbus_add_activation_service() requires suffient knowledge of its internals to use that replacing two lines with one seems silly. In order to use it you have to know it behaves like configure_file() (because you have to construct the file yourself), except that it also installs it somewhere (for which you have to make sure DBUS_SERVICES_INSTALL_DIR is defined before you use it, which is certainly not a given for non-KDE projects). By this point, why not just use configure_file() and install()? The DBUS_SERVICES_INSTALL_DIR provided by KDEInstallDirs is all the magic you actually need, and if that's explicit in the CMakeLists.txt file, it's a lot more obvious that you should have it defined somewhere. REVIEW: 117581
2014-04-20Improve the manualsAlex Merry
This adds an ecm-developer manual that replaces writing-find-modules.md (a lot of which was upstreamed to CMake's own documentation). It also adds introductory text to the ecm-*-modules manuals.
2014-04-18Make documentation generation python3 compatibleUwe L. Korn
REVIEW: 117624
2014-04-11Be more verbose about searching for SphinxAlex Merry
2014-04-11Add documentation generation using SphinxAlex Merry
This is deliberately modelled very closely on CMake's documentation system. It's a hefty patch, because it involved changing all the documentation to be in reStructuredText format. I also cleaned up the copyright/license statements at the same time. Note that the find modules contain the full license, due to the fact that ecm_use_find_module() copies them out of the ECM distribution.
2014-03-17Create ECMFindModuleHelpers module for common find-module codeAlex Merry
This currently mostly contains macros for handling components; FindWayland and FindXCB are ported to use this module, which comes with various improvements for them. REVIEW: 116653
2014-03-11Fix over-zealous search-and-replace in the docsAlex Merry
2014-03-11Add documentation about writing find modulesAlex Merry
REVIEW: 116025