[Insight-users] Writing RGBPixel images problem, Bug?

Brad King brad.king at kitware.com
Thu Jul 20 10:31:24 EDT 2006


Bradley Lowekamp wrote:
> 
> Yes! This is correct. The problem I am encountering is only on release
> builds. My dashboard submission yesterday was not a release build even
> though it said it was. Xcode build has a configuration argument that is
> case sensitive, but will not complain if the configuration name in
> unknown.  I don't think the CMAKE_BUILD_TYPE does anything. 
> 
> CMAKE_BUILD_TYPE:STRING=Release
> MAKECOMMAND:STRING=xcodebuild -target ALL_BUILD -configuration RELEASE
> 
> Should have been:
> 
> MAKECOMMAND:STRING=xcodebuild -target ALL_BUILD -configuration Release

This is correct.  The XCode 2.1 generator is a multi-configuration
generator, so CMAKE_BUILD_TYPE is ignored and the configuration is
chosen at build time.

-Brad


More information about the Insight-users mailing list