cmake --help-command SET_TARGET_PROPERTIES<br><br>and read about the "OUTPUT_NAME" target property...<br><br><br>HTH,<br>David<br><br><br><div><span class="gmail_quote">On 11/28/07, <b class="gmail_sendername">Josef Karthauser
</b> <<a href="mailto:joe.karthauser@geomerics.com">joe.karthauser@geomerics.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-GB">
<div>
<p>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?</p>
<p> </p>
<p>If I do,</p>
<p> </p>
<p style="text-indent: 36pt;">ADD_LIBRARY(Foo source.cpp)</p>
<p> </p>
<p>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).</p>
<p> </p>
<p>this</p>
</div>
</div>
<br>_______________________________________________<br>CMake mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:CMake@cmake.org">CMake@cmake.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">
http://www.cmake.org/mailman/listinfo/cmake</a><br></blockquote></div><br>