[CMake] installing targets under different name

Andy Cedilnik andy.cedilnik at kitware.com
Mon May 9 08:13:23 EDT 2005


Hi Alex,

Sounds like a great idea. Put a feature request and if you write a
patch, it would be even better. You may want to look in places like
cmTarget and cmInstallTargetCommand. Also, cmLocalGenerator has some code.

       Andy

Alexander Neundorf wrote:

>Hi, 
> 
>I still have the problem with a target "kdevelop" (for libkdevelop.so) 
>and "kdevelop" for the executable in the same cmake project. 
>One way to get around this would be to rename the binary e.g. to 
>"kdevelop3", but then installing it as "kdevelop". 
>This could e.g. be done via something like 
>"SET_TARGET_PROPERTIES(kdevelop3 PROPERTIES INSTALL_AS kdevelop)" 
>and then this new property could be used in cmLocalGenerator.cxx. 
> 
>What do you think about this ? If you think this would be ok, I'll try to 
>write a patch. 
> 
>Bye 
>Alex 
> 
>
>  
>


-- 
Andy Cedilnik
Kitware Inc.



More information about the CMake mailing list