summaryrefslogtreecommitdiffstats
path: root/Help/prop_dir
diff options
context:
space:
mode:
authorBetsy McPhail <betsy.mcphail@kitware.com>2017-06-23 16:12:00 (GMT)
committerBrad King <brad.king@kitware.com>2017-07-10 20:25:18 (GMT)
commitd385962419ea3109dd21093c2368379f5fb51722 (patch)
tree8c6a4fa9ff3383309844abeb8038a83baf701857 /Help/prop_dir
parentd08ec4d25a8113388092bf342002f3859f6b8de4 (diff)
downloadCMake-d385962419ea3109dd21093c2368379f5fb51722.zip
CMake-d385962419ea3109dd21093c2368379f5fb51722.tar.gz
CMake-d385962419ea3109dd21093c2368379f5fb51722.tar.bz2
Add directory property 'LABELS' and CMAKE_DIRECTORY_LABELS variable
The specified LABELS will be passed down to subdirectories as well as any targets or tests in the directory.
Diffstat (limited to 'Help/prop_dir')
-rw-r--r--Help/prop_dir/LABELS.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/Help/prop_dir/LABELS.rst b/Help/prop_dir/LABELS.rst
new file mode 100644
index 0000000..de27d90
--- /dev/null
+++ b/Help/prop_dir/LABELS.rst
@@ -0,0 +1,13 @@
+LABELS
+------
+
+Specify a list of text labels associated with a directory and all of its
+subdirectories. This is equivalent to setting the :prop_tgt:`LABELS` target
+property and the :prop_test:`LABELS` test property on all targets and tests in
+the current directory and subdirectories. Note: Launchers must enabled to
+propagate labels to targets.
+
+The :variable:`CMAKE_DIRECTORY_LABELS` variable can be used to initialize this
+property.
+
+The list is reported in dashboard submissions.