summaryrefslogtreecommitdiff
path: root/Help/prop_tgt/INTERPROCEDURAL_OPTIMIZATION.rst
blob: d3a5e9414793542e7c36044c18c4efb7317cf0dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
INTERPROCEDURAL_OPTIMIZATION
----------------------------

Enable interprocedural optimization for a target.

If set to true, enables interprocedural optimizations if they are
known :module:`to be supported <CheckIPOSupported>` by the compiler. Depending
on value of policy :policy:`CMP0069`, the error will be reported or ignored,
if interprocedural optimization is enabled but not supported.

This property is initialized by the
:variable:`CMAKE_INTERPROCEDURAL_OPTIMIZATION` variable if it is set when a
target is created.