[CMake] Creating librarys with different names from their targets.

Josef Karthauser joe.karthauser at geomerics.com
Wed Nov 28 07:53:00 EST 2007


I've got a library which I want to build from a target which has a
different name.  Is there any way of doing this?

 

If I do,

 

ADD_LIBRARY(Foo source.cpp)

 

this creates a target called 'Foo' which builds 'Foo.lib'.  However I
want the library 'Foo.lib' to be built from a target call 'Foo.Code'.
Is this possible?  (I've not explained the whole picture as it's more
complicated than this).

 

this

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20071128/3bded8eb/attachment.html


More information about the CMake mailing list