<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 13, 2015 at 10:45 AM, David Cole via CMake <span dir="ltr"><<a href="mailto:cmake@cmake.org" target="_blank">cmake@cmake.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">A few more ideas:<br>
<br>
<br>
The other "no need to modify CMake" way to achieve this (although it<br>
may be considered "too ugly" or non-ideal by some) would be to force<br>
the use of a single configuration per build tree, and use the proper<br>
value for CMAKE_INSTALL_PREFIX in each build tree.<br>
<br>
Your developers may not like that, but it would sure make the problem<br>
at hand disappear.<br>
<br></blockquote><div><br></div><div>This is/was my preferred way to do this.  And yes, other developers had problems grasping the issue.  And resulted in many mixed-mode builds.</div><div> </div><div>And actually going this way removed complication of installing 'bin/release' and 'bin/debug' sort of destinations.</div><div><br></div><div>The idea of making an install that installs from a install won't work; the inbetween could still be corrupted from partial release/debug mode builds.</div></div></div></div>