mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Merge topic 'fix-empty-target-property-queries'
c6d03a10tests: add tests for querying properties76ff92e0set_tests_properties: fix documentation28214862get_test_property: clarify the documentation34a99094get_target_property: discern empty from undefined properties (#15333)
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user