Excuses, I enabled the wrong setting using 2.8.1<div><br></div><div>CMAKE_RUNTIME_OUTPUT_DIRECTORY seems to still add 'Debug' and 'Release' but<br><div><br></div><div>CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG and</div>
<div>CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE seems to work fine.</div><div><br></div><div>Thanks a lot,</div><div>Erwin</div><div><br></div><div><br></div><div><br><div class="gmail_quote">On 8 February 2010 10:40, Erwin Coumans <span dir="ltr"><<a href="mailto:erwin.coumans@gmail.com">erwin.coumans@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><br></div>No, I just tried CMake 2.8.1 and it still adds 'Debug' and 'Release' directories to the name.<div>
<br></div><div>Are you sure it has been fixed?</div><div>Thanks a lot,</div><div>Erwin</div><div><div></div><div class="h5"><div>
<br><br><div class="gmail_quote">On 8 February 2010 05:43, Brad King <span dir="ltr"><<a href="mailto:brad.king@kitware.com" target="_blank">brad.king@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>Erwin Coumans wrote:<br>
><br>
> Hi,<br>
><br>
> How can we specify the actual directory where the executable ends up in<br>
> MSVC, without any messing around by adding 'Debug' or "Release'?<br>
><br>
> I tried the following lines:<br>
><br>
> SET( CMAKE_RUNTIME_OUTPUT_DIRECTORY ${BULLET_PHYSICS_SOURCE_DIR})<br>
> SET( CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE ${BULLET_PHYSICS_SOURCE_DIR})<br>
> SET( CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG ${BULLET_PHYSICS_SOURCE_DIR})<br>
><br>
> But the generated MSVC projectfiles still add 'Debug', 'Release' to the<br>
> directory. How can this additional 'Debug' or 'Release' be removed?<br>
<br>
</div>Coincidentally this is already implemented and is going to be in 2.8.1.<br>
<br>
<a href="http://www.cmake.org/Bug/view.php?id=9163" target="_blank">http://www.cmake.org/Bug/view.php?id=9163</a><br>
<font color="#888888"><br>
-Brad<br>
</font></blockquote></div><br></div>
</div></div></blockquote></div><br></div></div>