[CMake] installing targets under different name

Alexander Neundorf a.neundorf-work at gmx.net
Fri May 13 11:12:04 EDT 2005


Hi Andy, 
 
> Von: Andy Cedilnik <andy.cedilnik at kitware.com> 
> Hi Alex, 
>  
> I think maybe there should be another tag, something like: 
>  
> FILE(INSTALL DESTINATION "/usr/local/lib" TYPE FILE FILES 
> OUTPUT_NAME "libkdevlop_something_or_another.so" 
> "/usr/src/kde3-svn/kdevelop/lib/kdevelop/libkdevelop.so") 
>  
> Then we could use target property to set this name: 
>  
> SET_TARGET_PROPERTIES(kdevelop 
>   PROPERTIES 
>   INSTALL_OUTPUT_NAME "kdevelop_something_or_another") 
>  
>        Andy 
 
hmm, well, but the tag "FILES" suggests that there can be more than one 
file listed, so that it isn't obvious what happens if there is a 
"OUTPUT_NAME" tag and more than one file  to install. 
 
Bye 
Alex 
 

-- 
5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail
+++ GMX - die erste Adresse für Mail, Message, More +++


More information about the CMake mailing list