Ver Fonte

Help: improve docs for INTERPROCEDURAL_OPTIMIZATION target property

The documentation now mentions the per-config target property.

Fixes: #24285
Alexander Neundorf há 2 anos atrás
pai
commit
6ed026592e
1 ficheiros alterados com 4 adições e 0 exclusões
  1. 4 0
      Help/prop_tgt/INTERPROCEDURAL_OPTIMIZATION.rst

+ 4 - 0
Help/prop_tgt/INTERPROCEDURAL_OPTIMIZATION.rst

@@ -11,3 +11,7 @@ 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.
+
+There is also the per-configuration :prop_tgt:`INTERPROCEDURAL_OPTIMIZATION_<CONFIG>`
+target property, which overrides :prop_tgt:`INTERPROCEDURAL_OPTIMIZATION`
+if it is set.