How does this work?

 % cmake --help-property INTERPROCEDURAL_OPTIMIZATION
cmake version 2.8.8
  INTERPROCEDURAL_OPTIMIZATION
       Enable interprocedural optimization for targets in a directory.

       If set to true, enables interprocedural optimizations if they are
       known to be supported by the compiler.

During Release builds, I want to use -flto if I have a recent enough gcc,
and -ip -ipo1 if I have icc.  I currently detect and set these manually.
It would be nice if I could trust this property, but this doesn't say much
about exactly what it does.  In particular, I want -ipo1, not -ipo0 or
-ipo.

-- 
Cheers,
Leif
--

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

Reply via email to