cmake --help-command SET_TARGET_PROPERTIES

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


HTH,
David


On 11/28/07, Josef Karthauser <[EMAIL PROTECTED]> 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
> [email protected]
> http://www.cmake.org/mailman/listinfo/cmake
>
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to