On Mon, Jul 13, 2015 at 10:45 AM, David Cole via CMake <cmake@cmake.org>
wrote:

> A few more ideas:
>
>
> The other "no need to modify CMake" way to achieve this (although it
> may be considered "too ugly" or non-ideal by some) would be to force
> the use of a single configuration per build tree, and use the proper
> value for CMAKE_INSTALL_PREFIX in each build tree.
>
> Your developers may not like that, but it would sure make the problem
> at hand disappear.
>
>
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.

And actually going this way removed complication of installing
'bin/release' and 'bin/debug' sort of destinations.

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.
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to