Hi Alexey,<div><br></div><div>Usually there are 2 ways: 1) put them into separate directories (like Debug and Release), probably specifying different output directories or 2) use different file names, say adding suffixes like D, or d8.</div>
<div><br></div><div>BTW, what's the point to have different configurations in the same workspace (do you really still use VC6?) in different projects? Usually for Visual Studio configuration is coded into output directory path using macros like $(Configuration), so resulting binaries are put into different dirs. And you have to build twise to get all configurations.</div>
<div><br></div><div>Why do they required to have the same name? May be you're trying to solve wrong problem?</div><div><br></div><div>Regards,</div><div>Yuri</div><div><br><div class="gmail_quote">On Thu, Mar 3, 2011 at 2:50 PM, Alexey Livshits <span dir="ltr"><<a href="mailto:livchits@web.de">livchits@web.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello CMakers,<br>
suppose I've got a library foo with tow configurations: foo_1 and<br>
foo_2. Both versions should have the same output name: foo. The<br>
problem is, the output directory for both ist the same, so the second<br>
will overwrite the first.<br>
What's the best way to organize it?<br>
<br>
--<br>
BG,<br>
Alexey<br>
_______________________________________________<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>