oranges_enable_ipoΒΆ

include (OrangesIPO)

View the full docs for this module.

oranges_enable_ipo (<target>
                   [INCLUDE_DEBUG])

Enables interprocedural optimization for the given <target> if the CMAKE_INTERPROCEDURAL_OPTIMIZATION is set to ON. If this variable is OFF, then calling this function does nothing.

IPO is explicitly disabled for all debug configurations, unless the INCLUDE_DEBUG flag is passed.