Help: Update get_property and get_source_file_property docs

Specify the names and alternatives a bit more clearly.
This commit is contained in:
Alexandru Croitor
2020-07-08 22:47:57 +02:00
committed by Brad King
parent 1235f2d747
commit 961ee62faa
2 changed files with 2 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ Get a property.
DIRECTORY [<dir>] |
TARGET <target> |
SOURCE <source> |
[<TARGET_DIRECTORY ... | DIRECTORY ...>] |
[TARGET_DIRECTORY <target> | DIRECTORY <dir>] |
INSTALL <file> |
TEST <test> |
CACHE <entry> |

View File

@@ -5,7 +5,7 @@ Get a property for a source file.
.. code-block:: cmake
get_source_file_property(VAR file [<TARGET_DIRECTORY ... | DIRECTORY ...>] property)
get_source_file_property(VAR file [TARGET_DIRECTORY <target> | DIRECTORY <dir>] property)
Gets a property from a source file. The value of the property is
stored in the variable ``VAR``. If the source property is not found, the