From 50b164a7ce83cdaec18209c7c2226d2fdb9cf29e Mon Sep 17 00:00:00 2001 From: Alex Merry Date: Thu, 17 Apr 2014 09:55:33 +0100 Subject: 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 --- .../single-file-test/hicolor/16x16/actions/computer.png | Bin 0 -> 146 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 tests/ECMInstallIconsTest/expected-tree/single-file-test/hicolor/16x16/actions/computer.png (limited to 'tests/ECMInstallIconsTest/expected-tree/single-file-test') diff --git a/tests/ECMInstallIconsTest/expected-tree/single-file-test/hicolor/16x16/actions/computer.png b/tests/ECMInstallIconsTest/expected-tree/single-file-test/hicolor/16x16/actions/computer.png new file mode 100644 index 00000000..c60150f8 Binary files /dev/null and b/tests/ECMInstallIconsTest/expected-tree/single-file-test/hicolor/16x16/actions/computer.png differ -- cgit v1.2.1