Re: [CMake] Adding CMAKE_BUILD_TYPE support to ProjectConfig.cmake

2013-12-17 Thread Alexander Neundorf
On Tuesday 17 December 2013, J Decker wrote: > 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. typically, you get a differen

Re: [CMake] Adding CMAKE_BUILD_TYPE support to ProjectConfig.cmake

2013-12-17 Thread J Decker
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,

Re: [CMake] Adding CMAKE_BUILD_TYPE support to ProjectConfig.cmake

2013-12-17 Thread Mateusz Loskot
On 17 December 2013 02:29, J Decker 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... AFA