[CMake] CMake 2.8.0 RC 3 ready for testing!

Bill Hoffman bill.hoffman at kitware.com
Sun Oct 11 10:48:28 EDT 2009


Alexander Neundorf wrote:

>> - Create INTERPROCEDURAL_OPTIMIZATION build feature
> 
> I stumbled about this one, as it broke our build (we were using the -ipo flag  
> for compiling, which didn't work anymore).
> After setting the new INTERPROCEDURAL_OPTIMIZATION  property to TRUE it worked 
> again.
> 
> Is this the plan how "portable" build flags will be supported, e.g. maybe also 
> properties for enabling/disabling exceptions, optimizations, warnings, etc. ?
> May there be more issues when using such new flags in combination with 
> previously working CMAKE_C/CXX_FLAGS ?
> 
This flag is pretty unique as its use requires a different archiver to 
be used.  That archiver was not used until 2.6.3, and in that case it 
was used incorrectly.  So, yes, this is the current plan for feature to 
flag mapping.  Other flags should not cause as much trouble as this one did.

-Bill


More information about the CMake mailing list