Browse Source

Help: Add CheckIPOSupported link to INTERPROCEDURAL_OPTIMIZATION

Ruslan Baratov 6 năm trước cách đây
mục cha
commit
a59662bb5b
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      Help/prop_tgt/INTERPROCEDURAL_OPTIMIZATION.rst

+ 3 - 1
Help/prop_tgt/INTERPROCEDURAL_OPTIMIZATION.rst

@@ -4,7 +4,9 @@ INTERPROCEDURAL_OPTIMIZATION
 Enable interprocedural optimization for a target.
 
 If set to true, enables interprocedural optimizations if they are
-known to be supported by the compiler.
+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