diff options
author | Alex Merry <alex.merry@kde.org> | 2015-01-18 22:25:26 +0000 |
---|---|---|
committer | Alex Merry <alex.merry@kde.org> | 2015-01-24 11:01:09 +0000 |
commit | cf5ccc7d9eba368846fae043855d9b064dac786d (patch) | |
tree | 0d958c3148592f0510153499a5d8fcc2e6b943c4 /docs | |
parent | 1dd2029e5585385ea42d3092b010a8879ff00201 (diff) | |
download | extra-cmake-modules-cf5ccc7d9eba368846fae043855d9b064dac786d.tar.gz extra-cmake-modules-cf5ccc7d9eba368846fae043855d9b064dac786d.tar.bz2 |
Add ecm_add_app_icon function.
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.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/find-module/FindPng2Ico.rst | 1 | ||||
-rw-r--r-- | docs/module/ECMAddAppIcon.rst | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/docs/find-module/FindPng2Ico.rst b/docs/find-module/FindPng2Ico.rst new file mode 100644 index 00000000..db8aa775 --- /dev/null +++ b/docs/find-module/FindPng2Ico.rst @@ -0,0 +1 @@ +.. ecm-module:: ../../find-modules/FindPng2Ico.cmake diff --git a/docs/module/ECMAddAppIcon.rst b/docs/module/ECMAddAppIcon.rst new file mode 100644 index 00000000..31c09a88 --- /dev/null +++ b/docs/module/ECMAddAppIcon.rst @@ -0,0 +1 @@ +.. ecm-module:: ../../modules/ECMAddAppIcon.cmake |