On Mon, May 12, 2008 at 8:48 PM, Phil Pellouchoud &lt;<a href="mailto:Phil@slacker.com">Phil@slacker.com</a>&gt; wrote:<br><div class="gmail_quote"><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-US">

<div>

<p>i.e.&nbsp; I want my "debug" executable to be called "foo-debug.exe"
and my "release" executable to be called"foo-release.exe"</p></div></div></blockquote><div>You can use SET_TARGET_PROPERTIES with the &lt;CONFIG&gt;_OUTPUT_NAME property to set it on a per configuration basis:<br><a href="http://www.cmake.org/HTML/cmake-2.6.html#prop_tgt:OUTPUT_NAME">http://www.cmake.org/HTML/cmake-2.6.html#prop_tgt:OUTPUT_NAME</a><br>
<br><br>Alternatively if you&#39;re OK with just having a debug postfix (i.e. foo.exe &amp; foo-debug.exe) you can use the DEBUG_POSTFIX target property or CMAKE_DEBUG_POSTFIX variable to affect all targets.<br><br><a href="http://www.cmake.org/HTML/cmake-2.6.html#prop_tgt:DEBUG_POSTFIX">http://www.cmake.org/HTML/cmake-2.6.html#prop_tgt:DEBUG_POSTFIX</a><br>
<a href="http://www.cmake.org/HTML/cmake-2.6.html#variable:CMAKE_DEBUG_POSTFIX">http://www.cmake.org/HTML/cmake-2.6.html#variable:CMAKE_DEBUG_POSTFIX</a><br></div></div><br>-- <br>Philip Lowman