diff --git a/Help/prop_dir/ADDITIONAL_CLEAN_FILES.rst b/Help/prop_dir/ADDITIONAL_CLEAN_FILES.rst index 6097d14d32..8bb5f0178d 100644 --- a/Help/prop_dir/ADDITIONAL_CLEAN_FILES.rst +++ b/Help/prop_dir/ADDITIONAL_CLEAN_FILES.rst @@ -3,11 +3,11 @@ ADDITIONAL_CLEAN_FILES .. versionadded:: 3.15 -A :ref:`;-list ` of files or directories that will be -removed as a part of the global ``clean`` target. It is useful for -specifying generated files or directories that are used by multiple targets -or by CMake itself, or that are generated in ways which cannot be captured as -outputs or byproducts of custom commands. +A :ref:`semicolon-separated list ` of files or +directories that will be removed as a part of the global ``clean`` target. +It is useful for specifying generated files or directories that are used by +multiple targets or by CMake itself, or that are generated in ways which cannot +be captured as outputs or byproducts of custom commands. If an additional clean file is specific to a single target only, then the :prop_tgt:`ADDITIONAL_CLEAN_FILES` target property would usually be a better diff --git a/Help/prop_dir/ADDITIONAL_MAKE_CLEAN_FILES.rst b/Help/prop_dir/ADDITIONAL_MAKE_CLEAN_FILES.rst index a19cc4ee28..12b50d6bec 100644 --- a/Help/prop_dir/ADDITIONAL_MAKE_CLEAN_FILES.rst +++ b/Help/prop_dir/ADDITIONAL_MAKE_CLEAN_FILES.rst @@ -7,8 +7,8 @@ ADDITIONAL_MAKE_CLEAN_FILES Additional files to remove during the clean stage. -A :ref:`;-list ` of files that will be removed as a -part of the ``make clean`` target. +A :ref:`semicolon-separated list ` of files that will be +removed as a part of the ``make clean`` target. Arguments to ``ADDITIONAL_MAKE_CLEAN_FILES`` may use :manual:`generator expressions `. diff --git a/Help/prop_tgt/ADDITIONAL_CLEAN_FILES.rst b/Help/prop_tgt/ADDITIONAL_CLEAN_FILES.rst index dc87d23ef6..97cfe13b34 100644 --- a/Help/prop_tgt/ADDITIONAL_CLEAN_FILES.rst +++ b/Help/prop_tgt/ADDITIONAL_CLEAN_FILES.rst @@ -3,11 +3,11 @@ ADDITIONAL_CLEAN_FILES .. versionadded:: 3.15 -A :ref:`;-list ` of files or directories that will be -removed as a part of the global ``clean`` target. It can be used to specify -files and directories that are generated as part of building the target or -that are directly associated with the target in some way (e.g. created as a -result of running the target). +A :ref:`semicolon-separated list ` of files or +directories that will be removed as a part of the global ``clean`` target. +It can be used to specify files and directories that are generated as part of +building the target or that are directly associated with the target in some way +(e.g. created as a result of running the target). For custom targets, if such files can be captured as outputs or byproducts instead, then that should be preferred over adding them to this property. diff --git a/Help/prop_tgt/AUTOGEN_TARGET_DEPENDS.rst b/Help/prop_tgt/AUTOGEN_TARGET_DEPENDS.rst index 892dc5e2d9..27f1fd3776 100644 --- a/Help/prop_tgt/AUTOGEN_TARGET_DEPENDS.rst +++ b/Help/prop_tgt/AUTOGEN_TARGET_DEPENDS.rst @@ -18,9 +18,9 @@ which generates ``moc`` and ``uic`` files. As this :ref:`_autogen <_autogen>` target is created at generate-time, it is not possible to define dependencies of it using e.g. :command:`add_dependencies`. Instead the ``AUTOGEN_TARGET_DEPENDS`` target -property can be set to a :ref:`;-list ` of additional -dependencies for the :ref:`_autogen <_autogen>` target. -Dependencies can be target names or file names. +property can be set to a :ref:`semicolon-separated list ` +of additional dependencies for the :ref:`_autogen <_autogen>` +target. Dependencies can be target names or file names. In total, the dependencies of the :ref:`_autogen <_autogen>` target are composed from diff --git a/Modules/GoogleTest.cmake b/Modules/GoogleTest.cmake index 5f4eaf84e9..992b71e0a4 100644 --- a/Modules/GoogleTest.cmake +++ b/Modules/GoogleTest.cmake @@ -145,8 +145,8 @@ same as the Google Test name (i.e. ``suite.testcase``); see also ``exe`` The path to the test executable or the name of a CMake target. ``args`` - A ;-list of extra arguments to be passed to executable. The entire - list must be passed as a single argument. Enclose it in quotes, + A semicolon-separated list of extra arguments to be passed to executable. + The entire list must be passed as a single argument. Enclose it in quotes, or pass ``""`` for no arguments. ``files...`` A list of source files to search for tests and test fixtures.