summaryrefslogtreecommitdiffstats
path: root/IconThemes/CMakeLists.txt
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-10-20 03:59:04 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-10-20 03:59:04 +0000
commit5379c37cfc91f24716af951dd08503f65f7575d7 (patch)
tree59288babdc8ae3bf4b529b7ced17509450f05679 /IconThemes/CMakeLists.txt
parent99a9c9fb9a9ce322e8b43fc101877c6a78622bca (diff)
downloadtdeartwork-5379c37cfc91f24716af951dd08503f65f7575d7.tar.gz
tdeartwork-5379c37cfc91f24716af951dd08503f65f7575d7.zip
Commit initial kdeartwork CMake support, courtesy of Golubev Alexander
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeartwork@1259766 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'IconThemes/CMakeLists.txt')
-rw-r--r--IconThemes/CMakeLists.txt28
1 files changed, 28 insertions, 0 deletions
diff --git a/IconThemes/CMakeLists.txt b/IconThemes/CMakeLists.txt
new file mode 100644
index 00000000..75f55d27
--- /dev/null
+++ b/IconThemes/CMakeLists.txt
@@ -0,0 +1,28 @@
+#################################################
+#
+# (C) 2011 Golubev Alexander
+# fatzer2 (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+set(ICON_THEMES Locolor ikons kdeclassic slick kids )
+set(ICON_TYPES actions apps devices filesystems mimetypes)
+set(ICON_SIZES 16x16 22x22 32x32 48x48 64x64 128x128 scalable)
+set(ICON_SUFFIXES png mng svg svgz)
+
+foreach (theme ${ICON_THEMES})
+ install(FILES ${theme}/index.theme DESTINATION ${ICON_INSTALL_DIR}/${theme} )
+ foreach(size ${ICON_SIZES})
+ foreach(type ${ICON_TYPES})
+ foreach(suffix ${ICON_SUFFIXES})
+ FILE(GLOB files "${theme}/${size}/${type}/*.${suffix}" )
+ install(FILES ${files} DESTINATION ${ICON_INSTALL_DIR}/${theme}/${size}/${type}/)
+ endforeach(suffix ${ICON_SUFFIXES})
+ endforeach(type ${ICON_TYPES})
+ endforeach(size ${ICON_SIZES})
+endforeach (theme ${ICON_THEMES})
+