Skip to content

Commit 961ee62

Browse files
alcroitobradking
authored andcommitted
Help: Update get_property and get_source_file_property docs
Specify the names and alternatives a bit more clearly.
1 parent 1235f2d commit 961ee62

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Help/command/get_property.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Get a property.
1010
DIRECTORY [<dir>] |
1111
TARGET <target> |
1212
SOURCE <source> |
13-
[<TARGET_DIRECTORY ... | DIRECTORY ...>] |
13+
[TARGET_DIRECTORY <target> | DIRECTORY <dir>] |
1414
INSTALL <file> |
1515
TEST <test> |
1616
CACHE <entry> |

Help/command/get_source_file_property.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Get a property for a source file.
55

66
.. code-block:: cmake
77
8-
get_source_file_property(VAR file [<TARGET_DIRECTORY ... | DIRECTORY ...>] property)
8+
get_source_file_property(VAR file [TARGET_DIRECTORY <target> | DIRECTORY <dir>] property)
99
1010
Gets a property from a source file. The value of the property is
1111
stored in the variable ``VAR``. If the source property is not found, the

0 commit comments

Comments
 (0)