[CMake] problem with installing files

Brad King brad.king at kitware.com
Sat Dec 10 12:44:39 EST 2005


Alexander Neundorf wrote:
> I have to rename the files during install, these are the KDE icon files, 
> which have names like "hi32-app-kpager.png", which means it has to be 
> install to ${INSTALL_PREFIX}/share/icons/hicolor/32x32/apps/kpager.png" 
>  
> Do you have any suggestions ? 

You could also configure the file and rename it into the build tree 
during the CMake configuration step.  Then setup the install rule to get 
the file from the renamed build-tree location.

-Brad


More information about the CMake mailing list