[CMake] How to support separate debug and release build directories?

Marc Herbert marc.herbert at gmail.com
Sun Jul 14 02:27:57 EDT 2019


>
>
>>  I am not finding it easy to find 'patterns' for these sort of issues. I
>> would have thought that configuring a project with separate debug and
>> release directories would be quite typical. But it's hard to find the
>> recommended way of doing such things.
>>
>
> It is typical:
> https://gitlab.kitware.com/cmake/community/wikis/FAQ#what-is-an-out-of-source-build
>
> In this case CMake doesn't recommend anything because it assumes this is
> implemented outside/on top of CMake
> https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html
>
>
Finally found it while looking for something else:
https://gitlab.kitware.com/cmake/community/wikis/FAQ#how-can-i-build-multiple-modes-without-switching-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20190713/d34bc571/attachment.html>


More information about the CMake mailing list