From d7c60ab6b03a9a8774b43f9bdeb819e42e920ada Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Mon, 30 Jan 2023 22:46:57 +0100 Subject: Help: mark the directory properties INTERPROCEDURAL_OPTIMIZATION as deprecated These properties actually never existed, so move the documentation to "Deprecated" and refer to the target properties. --- Help/manual/cmake-properties.7.rst | 4 ++-- Help/prop_dir/INTERPROCEDURAL_OPTIMIZATION.rst | 5 ++--- Help/prop_dir/INTERPROCEDURAL_OPTIMIZATION_CONFIG.rst | 6 ++---- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/Help/manual/cmake-properties.7.rst b/Help/manual/cmake-properties.7.rst index 93c6d3e..fb84f5a 100644 --- a/Help/manual/cmake-properties.7.rst +++ b/Help/manual/cmake-properties.7.rst @@ -77,8 +77,6 @@ Properties on Directories /prop_dir/IMPORTED_TARGETS /prop_dir/INCLUDE_DIRECTORIES /prop_dir/INCLUDE_REGULAR_EXPRESSION - /prop_dir/INTERPROCEDURAL_OPTIMIZATION - /prop_dir/INTERPROCEDURAL_OPTIMIZATION_CONFIG /prop_dir/LABELS /prop_dir/LINK_DIRECTORIES /prop_dir/LINK_OPTIONS @@ -621,6 +619,8 @@ Deprecated Properties on Directories /prop_dir/ADDITIONAL_MAKE_CLEAN_FILES /prop_dir/COMPILE_DEFINITIONS_CONFIG + /prop_dir/INTERPROCEDURAL_OPTIMIZATION + /prop_dir/INTERPROCEDURAL_OPTIMIZATION_CONFIG /prop_dir/TEST_INCLUDE_FILE diff --git a/Help/prop_dir/INTERPROCEDURAL_OPTIMIZATION.rst b/Help/prop_dir/INTERPROCEDURAL_OPTIMIZATION.rst index 0c78dfb..6693a43 100644 --- a/Help/prop_dir/INTERPROCEDURAL_OPTIMIZATION.rst +++ b/Help/prop_dir/INTERPROCEDURAL_OPTIMIZATION.rst @@ -1,7 +1,6 @@ INTERPROCEDURAL_OPTIMIZATION ---------------------------- -Enable interprocedural optimization for targets in a directory. +This directory property does not exist anymore. -If set to true, enables interprocedural optimizations if they are -known to be supported by the compiler. +See the target property :prop_tgt:`INTERPROCEDURAL_OPTIMIZATION` instead. diff --git a/Help/prop_dir/INTERPROCEDURAL_OPTIMIZATION_CONFIG.rst b/Help/prop_dir/INTERPROCEDURAL_OPTIMIZATION_CONFIG.rst index 840a1db..7ef1bb4 100644 --- a/Help/prop_dir/INTERPROCEDURAL_OPTIMIZATION_CONFIG.rst +++ b/Help/prop_dir/INTERPROCEDURAL_OPTIMIZATION_CONFIG.rst @@ -1,8 +1,6 @@ INTERPROCEDURAL_OPTIMIZATION_ ------------------------------------- -Per-configuration interprocedural optimization for a directory. +This directory property does not exist anymore. -This is a per-configuration version of ``INTERPROCEDURAL_OPTIMIZATION``. -If set, this property overrides the generic property for the named -configuration. +See the target property :prop_tgt:`INTERPROCEDURAL_OPTIMIZATION_` instead. -- cgit v0.12