From 50de5dbbf5bd9293b26cad674fbdb681df89ac5e Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 22 May 2015 10:49:10 -0400 Subject: [PATCH] Help: Format visibility property and variable documentation Add reStructuredText markup appropriately. --- Help/prop_tgt/LANG_VISIBILITY_PRESET.rst | 9 +++++---- Help/prop_tgt/VISIBILITY_INLINES_HIDDEN.rst | 8 ++++---- Help/variable/CMAKE_LANG_VISIBILITY_PRESET.rst | 7 ++----- Help/variable/CMAKE_VISIBILITY_INLINES_HIDDEN.rst | 7 ++----- 4 files changed, 13 insertions(+), 18 deletions(-) diff --git a/Help/prop_tgt/LANG_VISIBILITY_PRESET.rst b/Help/prop_tgt/LANG_VISIBILITY_PRESET.rst index d4bde179b..dfed1c40e 100644 --- a/Help/prop_tgt/LANG_VISIBILITY_PRESET.rst +++ b/Help/prop_tgt/LANG_VISIBILITY_PRESET.rst @@ -3,8 +3,9 @@ Value for symbol visibility compile flags -The _VISIBILITY_PRESET property determines the value passed in a -visibility related compile option, such as -fvisibility= for . +The ``_VISIBILITY_PRESET`` property determines the value passed in a +visibility related compile option, such as ``-fvisibility=`` for ````. This property only has an affect for libraries and executables with -exports. This property is initialized by the value of the variable -CMAKE__VISIBILITY_PRESET if it is set when a target is created. +exports. This property is initialized by the value of the +:variable:`CMAKE__VISIBILITY_PRESET` variable if it is set when a +target is created. diff --git a/Help/prop_tgt/VISIBILITY_INLINES_HIDDEN.rst b/Help/prop_tgt/VISIBILITY_INLINES_HIDDEN.rst index e06d35c5f..9a1c9c13c 100644 --- a/Help/prop_tgt/VISIBILITY_INLINES_HIDDEN.rst +++ b/Help/prop_tgt/VISIBILITY_INLINES_HIDDEN.rst @@ -3,9 +3,9 @@ VISIBILITY_INLINES_HIDDEN Whether to add a compile flag to hide symbols of inline functions -The VISIBILITY_INLINES_HIDDEN property determines whether a flag for -hiding symbols for inline functions, such as -fvisibility-inlines-hidden, +The ``VISIBILITY_INLINES_HIDDEN`` property determines whether a flag for +hiding symbols for inline functions, such as ``-fvisibility-inlines-hidden``, should be used when invoking the compiler. This property only has an affect for libraries and executables with exports. This property is initialized by -the value of the :variable:`CMAKE_VISIBILITY_INLINES_HIDDEN` if it is set -when a target is created. +the value of the :variable:`CMAKE_VISIBILITY_INLINES_HIDDEN` variable if it +is set when a target is created. diff --git a/Help/variable/CMAKE_LANG_VISIBILITY_PRESET.rst b/Help/variable/CMAKE_LANG_VISIBILITY_PRESET.rst index bef670fd1..1961ea085 100644 --- a/Help/variable/CMAKE_LANG_VISIBILITY_PRESET.rst +++ b/Help/variable/CMAKE_LANG_VISIBILITY_PRESET.rst @@ -1,8 +1,5 @@ CMAKE__VISIBILITY_PRESET ------------------------------ -Default value for _VISIBILITY_PRESET of targets. - -This variable is used to initialize the _VISIBILITY_PRESET -property on all the targets. See that target property for additional -information. +Default value for the :prop_tgt:`_VISIBILITY_PRESET` target +property when a target is created. diff --git a/Help/variable/CMAKE_VISIBILITY_INLINES_HIDDEN.rst b/Help/variable/CMAKE_VISIBILITY_INLINES_HIDDEN.rst index f55c7b177..150baccc1 100644 --- a/Help/variable/CMAKE_VISIBILITY_INLINES_HIDDEN.rst +++ b/Help/variable/CMAKE_VISIBILITY_INLINES_HIDDEN.rst @@ -1,8 +1,5 @@ CMAKE_VISIBILITY_INLINES_HIDDEN ------------------------------- -Default value for VISIBILITY_INLINES_HIDDEN of targets. - -This variable is used to initialize the VISIBILITY_INLINES_HIDDEN -property on all the targets. See that target property for additional -information. +Default value for the :prop_tgt:`VISIBILITY_INLINES_HIDDEN` target +property when a target is created.