SVN_SILENT made messages (.desktop file)
[kdeartwork.git] / IconThemes / CMakeLists.txt
blobdaac2a988d4df202701f856ac1dadf10bb03763a
1 add_subdirectory( crystalsvg )
3 set(iconthemes crystalsvg Locolor ikons kdeclassic slick kids )
5 set(typeIcons actions animations apps  devices  emblems  filesystems  mimetypes places categories)
7 set(sizeIcon  8x8  11x11  16x16  22x22  24x24  32x32  48x48 64x64)
9 set(kdedir kde)
11 foreach (_currentthemedir ${iconthemes})
12         install(FILES ${_currentthemedir}/index.theme DESTINATION ${ICON_INSTALL_DIR}/${_currentthemedir} )
13    
14         foreach(_currentsize ${sizeIcon})
15                 
16                 foreach(_currenttypeicon ${typeIcons})
17                         FILE(GLOB _pngfile "${_currentthemedir}/${_currentsize}/${_currenttypeicon}/*.png" )
18                         install(FILES ${_pngfile} DESTINATION ${ICON_INSTALL_DIR}/${_currentthemedir}/${_currentsize}/${_currenttypeicon})
19                         FILE(GLOB _mngfile "${_currentthemedir}/${_currentsize}/${_currenttypeicon}/*.mng")
20                         install(FILES ${_mngfile} DESTINATION ${ICON_INSTALL_DIR}/${_currentthemedir}/${_currentsize}/${_currenttypeicon})
21                         # TODO fix it
22                         #foreach(_currentkdedir ${kdedir})
23                         #       FILE(GLOB _kdeicons "*.png
24                         #endforeach(_currentkdedir ${kdedir})           
25                 endforeach(_currenttypeicon ${typeIcons})
27         endforeach(_currentsize ${sizeIcon})
29 endforeach(_currentthemedir ${iconthemes})