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

David Cole david.cole at kitware.com
Wed Nov 28 07:57:30 EST 2007


cmake --help-command SET_TARGET_PROPERTIES

and read about the "OUTPUT_NAME" target property...


HTH,
David


On 11/28/07, Josef Karthauser <joe.karthauser at geomerics.com> wrote:
>
>  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
>
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20071128/1aaa9102/attachment.htm


More information about the CMake mailing list