Re: [CMake] Determining debug & release configurations

2012-12-18 Thread Robert Dailey
Is there no solution to this based on my assumptions? On Mon, Dec 10, 2012 at 11:07 AM, Robert Dailey wrote: > Thanks for the tips... > > I think this might be a little overkill, because the solution I was > looking at involved the DEBUG_CONFIGURATIONS variable. For > multi-configuration generato

Re: [CMake] Determining debug & release configurations

2012-12-10 Thread Robert Dailey
Thanks for the tips... I think this might be a little overkill, because the solution I was looking at involved the DEBUG_CONFIGURATIONS variable. For multi-configuration generators, you can see if any items in CMAKE_CONFIGURATION_TYPES match what's inside of DEBUG_CONFIGURATIONS. Any match is a DE

Re: [CMake] Determining debug & release configurations

2012-12-07 Thread Andreas Mohr
Hi, On Fri, Dec 07, 2012 at 04:01:27AM -0500, cmake-requ...@cmake.org wrote: > Date: Thu, 6 Dec 2012 11:54:42 -0600 > From: Robert Dailey > Does anyone have any code that can detect if a given configuration (by > name) is a debug or release configuration? This should work in both > single-config

[CMake] Determining debug & release configurations

2012-12-06 Thread Robert Dailey
Does anyone have any code that can detect if a given configuration (by name) is a debug or release configuration? This should work in both single-configuration and multi-configuration generators. For example, in Visual Studio: Release -> Release MinSizeRel -> Release RelWithDebInfo -> Release Deb