diff options
author | Brad King <brad.king@kitware.com> | 2015-01-11 17:00:20 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-01-11 17:00:20 (GMT) |
commit | cb5fc7b993866e7398922d34a1b1807ad061d4b0 (patch) | |
tree | 4167c477aa66abcd18ed22f55d0caefd5f830d9d /Help | |
parent | f098e0e22bedbaf7aa41ef5f8fb9e10478b6672e (diff) | |
parent | c6d03a1072c8f3ae285f4297caf96637b3a47c22 (diff) | |
download | CMake-cb5fc7b993866e7398922d34a1b1807ad061d4b0.zip CMake-cb5fc7b993866e7398922d34a1b1807ad061d4b0.tar.gz CMake-cb5fc7b993866e7398922d34a1b1807ad061d4b0.tar.bz2 |
Merge topic 'fix-empty-target-property-queries'
c6d03a10 tests: add tests for querying properties
76ff92e0 set_tests_properties: fix documentation
28214862 get_test_property: clarify the documentation
34a99094 get_target_property: discern empty from undefined properties (#15333)
Diffstat (limited to 'Help')
-rw-r--r-- | Help/command/get_test_property.rst | 8 | ||||
-rw-r--r-- | Help/command/set_tests_properties.rst | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/Help/command/get_test_property.rst b/Help/command/get_test_property.rst index 2623755..391a32e 100644 --- a/Help/command/get_test_property.rst +++ b/Help/command/get_test_property.rst @@ -7,9 +7,9 @@ Get a property of the test. get_test_property(test property VAR) -Get a property from the Test. The value of the property is stored in -the variable VAR. If the property is not found, VAR will be set to -"NOTFOUND". For a list of standard properties you can type cmake ---help-property-list +Get a property from the test. The value of the property is stored in +the variable VAR. If the test or property is not found, VAR will be +set to "NOTFOUND". For a list of standard properties you can type cmake +--help-property-list. See also the more general get_property() command. diff --git a/Help/command/set_tests_properties.rst b/Help/command/set_tests_properties.rst index e29d690..afac847 100644 --- a/Help/command/set_tests_properties.rst +++ b/Help/command/set_tests_properties.rst @@ -7,7 +7,7 @@ Set a property of the tests. set_tests_properties(test1 [test2...] PROPERTIES prop1 value1 prop2 value2) -Set a property for the tests. If the property is not found, CMake +Set a property for the tests. If the test is not found, CMake will report an error. Generator expressions will be expanded the same as supported by the test's add_test call. The properties include: |