I'm not using SET_TARGET_PROPERTIES,<div><br></div><div>SET( CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG ${BULLET_PHYSICS_SOURCE_DIR})</div><div>SET( CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE ${BULLET_PHYSICS_SOURCE_DIR})</div><div>
<br></div><div>seems to work just fine for all targets with CMake 2.8.1.</div><div>Thanks,</div><div>Erwin</div><div><br><br><div class="gmail_quote">On 8 February 2010 10:44, David Cole <span dir="ltr"><<a href="mailto:david.cole@kitware.com">david.cole@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">You have to set the target property to set the directories to something of your own choosing.<div><br></div><div>CMake will always use Debug and Release by default for Visual Studio and Xcode, since they are multi-configuration development environments...</div>
<div><br></div><div><br><br><div class="gmail_quote"><div><div></div><div class="h5">On Mon, Feb 8, 2010 at 1:40 PM, Erwin Coumans <span dir="ltr"><<a href="mailto:erwin.coumans@gmail.com" target="_blank">erwin.coumans@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class="h5">
<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><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><br></div></div>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br></blockquote></div><br></div>
</blockquote></div><br></div>