summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2020-07-08 20:47:57 (GMT)
committerBrad King <brad.king@kitware.com>2020-07-09 10:35:06 (GMT)
commit961ee62faaf63cbd72724a4e9c039352ed44dad4 (patch)
treeae40cbde6adf2bad3840b262bde2a7a1945df057
parent1235f2d747770535a388cd763c95cde8c9244375 (diff)
downloadCMake-961ee62faaf63cbd72724a4e9c039352ed44dad4.zip
CMake-961ee62faaf63cbd72724a4e9c039352ed44dad4.tar.gz
CMake-961ee62faaf63cbd72724a4e9c039352ed44dad4.tar.bz2
Help: Update get_property and get_source_file_property docs
Specify the names and alternatives a bit more clearly.
-rw-r--r--Help/command/get_property.rst2
-rw-r--r--Help/command/get_source_file_property.rst2
2 files changed, 2 insertions, 2 deletions
diff --git a/Help/command/get_property.rst b/Help/command/get_property.rst
index 80d97fd..123cd45 100644
--- a/Help/command/get_property.rst
+++ b/Help/command/get_property.rst
@@ -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> |
diff --git a/Help/command/get_source_file_property.rst b/Help/command/get_source_file_property.rst
index 893a1b6..1060251 100644
--- a/Help/command/get_source_file_property.rst
+++ b/Help/command/get_source_file_property.rst
@@ -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