aboutsummaryrefslogtreecommitdiff
path: root/tests/ECMInstallIconsTest/expected-tree/badly-named-files-test
diff options
context:
space:
mode:
authorAlex Merry <alex.merry@kde.org>2014-04-17 09:55:33 +0100
committerAlex Merry <alex.merry@kde.org>2014-04-25 10:37:28 +0100
commit50b164a7ce83cdaec18209c7c2226d2fdb9cf29e (patch)
tree4f18f6a10f00265f30ef3e2428648d8ad72de4a1 /tests/ECMInstallIconsTest/expected-tree/badly-named-files-test
parent23829defe0455cf57518ee29fee2988054ed51b7 (diff)
downloadextra-cmake-modules-50b164a7ce83cdaec18209c7c2226d2fdb9cf29e.tar.gz
extra-cmake-modules-50b164a7ce83cdaec18209c7c2226d2fdb9cf29e.tar.bz2
New syntax for ecm_install_icons()
This requires the icon files to be specified (which is better than globbing, because the build system will then be able to tell when files are added or removed and re-run CMake). It also removes the theme name from the filename pattern: the old code used a shorthand theme name for a small number of themes, and didn't allow any other themes. Extending this to arbitrary themes could cause problems with themes that have numbers or hyphens (or whatever other delimiter character was used) in their names. Most users are likely to just want to install to a single theme anyway (based on a random sampling of users of kde4_install_icons), so that is what the new syntax requires. The old syntax still works and behaves as before. ecm_update_iconcache is renamed to _ecm_update_iconcache - it was never documented as public API anyway. REVIEW: 117617
Diffstat (limited to 'tests/ECMInstallIconsTest/expected-tree/badly-named-files-test')
-rw-r--r--tests/ECMInstallIconsTest/expected-tree/badly-named-files-test/hicolor/16x16/actions/badext.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ECMInstallIconsTest/expected-tree/badly-named-files-test/hicolor/16x16/actions/badext.txt b/tests/ECMInstallIconsTest/expected-tree/badly-named-files-test/hicolor/16x16/actions/badext.txt
new file mode 100644
index 00000000..9daeafb9
--- /dev/null
+++ b/tests/ECMInstallIconsTest/expected-tree/badly-named-files-test/hicolor/16x16/actions/badext.txt
@@ -0,0 +1 @@
+test