summaryrefslogtreecommitdiffstats
path: root/Help/command
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2023-08-10 18:41:39 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2023-08-11 14:50:52 (GMT)
commitefc8f19cc5b4442cbfb9c40f36b8d3909d42cd92 (patch)
treeaacac6992d3f914f26e2a642eb5dce7ecc5f0f99 /Help/command
parent753999d4db842a73727f7efb68ce1b6406b5913b (diff)
downloadCMake-efc8f19cc5b4442cbfb9c40f36b8d3909d42cd92.zip
CMake-efc8f19cc5b4442cbfb9c40f36b8d3909d42cd92.tar.gz
CMake-efc8f19cc5b4442cbfb9c40f36b8d3909d42cd92.tar.bz2
set_tests_properties(): Add DIRECTORY option
Diffstat (limited to 'Help/command')
-rw-r--r--Help/command/set_tests_properties.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/Help/command/set_tests_properties.rst b/Help/command/set_tests_properties.rst
index 1df9d73..da750e3 100644
--- a/Help/command/set_tests_properties.rst
+++ b/Help/command/set_tests_properties.rst
@@ -14,6 +14,16 @@ Test property values may be specified using
:manual:`generator expressions <cmake-generator-expressions(7)>`
for tests created by the :command:`add_test(NAME)` signature.
+.. versionadded:: 3.28
+ Visibility can be set in other directory scopes using the following option:
+
+ ``DIRECTORY <dir>``
+ The test properties will be set in the ``<dir>`` directory's scope.
+ CMake must already know about this directory, either by having added it
+ through a call to :command:`add_subdirectory` or it being the top level
+ source directory. Relative paths are treated as relative to the current
+ source directory. ``<dir>`` may reference a binary directory.
+
See Also
^^^^^^^^