which is... build seperately into seperate directories even with makefile.

If you don't, all sources will not recompile if you change the
cmake_buidl_type and you'll get partial debug and partial release
sources.

Even visual studio fails; that is you cannot change the build mode in
visual studio, and it also is really only good for one shot builds; an
entire solution/project set for realease and another whole set for
debug works; otherwise you get mixed results and all is bad.

On Tue, Dec 17, 2013 at 6:21 AM, Mateusz Loskot <[email protected]> wrote:
> On 17 December 2013 02:29, J Decker <[email protected]> wrote:
>> build with multiple passes... 1 time release, and 1 time debug.  Don't
>> think about building both at once....
>
> I'm more concerned about using both (linking against) at once,
> FooBarUser built in Release links against FooBar build in Release mode...
>
> AFAIK, some generators like makefile may lead to problems if the same
> location is reused for all build variants.
> That may only be avoided by generators like Visual Studio
> which additionally makes use of subfolders based on build variant.
>
> Best regards,
> --
> Mateusz  Łoskot, http://mateusz.loskot.net
--

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://www.cmake.org/mailman/listinfo/cmake

Reply via email to