I&#39;m trying to get my dlls and exes to output in a speicfic directory, regardless of build type.<br><br>I should be able to do this using:<br><br>set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/bin )<br><br>I still end up with<br>
<br>(top dirs)/bin/Debug/myapp.exe<br>(top dirs)/bin/Release/myapp.exe<br><br>According to these tickets:  <br><br><a href="http://www.vtk.org/Bug/view.php?id=10276">http://www.vtk.org/Bug/view.php?id=10276</a><br><a href="http://www.vtk.org/Bug/view.php?id=9163">http://www.vtk.org/Bug/view.php?id=9163</a><br>
<br>It should work, as 9163 went into the master for cmake 2.8.1.RC1.  I&#39;m using 2.8.3.  I had the same behavior for 2.8.2.<br><br>VS2008 will work if I use the &#39;prefix hack&#39;.  This does not work under VS2010 though.<br>
<br>set_target_properties(myApp PROPERTIES PREFIX &quot;../&quot; RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/bin)<br><br>Am I confused?  What&#39;s the correct way to make this work?  Was it fixed and then broke again?<br>
<br>Thanks,<br>Aaron<br>