On Mon, May 26, 2008 at 2:20 AM, Andreas Fredriksson &lt;<a href="mailto:deplinenoise@gmail.com">deplinenoise@gmail.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;">
Hi list, first post here.<br>
<br>
I&#39;m converting a software project to use CMake and while doing so I<br>
realized it the old visual studio projects wrote their output with a<br>
suffix to a common directory, so executables for different<br>
configurations would live side by side (foo_d.exe, foo_r.exe).<br>
<br>
I know how to do the suffix thing (&lt;CONFIG&gt;_SUFFIX in the target<br>
properties), but I can&#39;t seem to get all build variants to end up in<br>
the same directory. If I set the runtime_output_directory option<br>
globally, everything is placed in configuration-names subdirectories<br>
such as &lt;intended-dir&gt;/&lt;CONFIG&gt;. Is there any way to lose that<br>
configuration-named directory?</blockquote><div><br>You need what has come to be called the PREFIX hack.&nbsp; Simply set the PREFIX target property to &quot;../&quot; and your target will no longer be generated in the build solution directory (Debug, Release, etc.) but rather one directory higher.<br>
</div></div><br>-- <br>Philip Lowman