[CMake] Adding CMAKE_BUILD_TYPE support to ProjectConfig.cmake

Mateusz Loskot mateusz at loskot.net
Tue Dec 17 09:21:13 EST 2013


On 17 December 2013 02:29, J Decker <d3ck0r at gmail.com> 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


More information about the CMake mailing list