[CMake] CMAKE_DEBUG_POSTFIX

Brad King brad.king at kitware.com
Thu Feb 23 14:24:36 EST 2006


andrew.blose at kodak.com wrote:
> I have a couple of quick questions about the CMAKE_DEBUG_POSTFIX variable.
> 
> 1. Is there any documentation on it?

Not currently, it was an experimental feature until recently.

> 2. What version(s) of CMake supports it?

It partially works in CMake 2.2 (and maybe 2.0).  The current 
development version in CVS has full support.

> 3. Can it be used on the Windows platform to dynamically name build 
> products (libs in particular) to distinguish between Debug and Release 
> config outputs?

Yes.  In the CVS version you can set CMAKE_<config>_POSTFIX where 
<config> is the configuration name in upper case.

-Brad


More information about the CMake mailing list