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
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake