diff options
author | Brad King <brad.king@kitware.com> | 2020-10-22 14:20:08 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-10-22 14:20:43 (GMT) |
commit | 94c6295db1c7ae759b466d4fb06f25b889ac888b (patch) | |
tree | e49a059efb6d55c6365164d16207b57ce027949c | |
parent | 504aadf414d6c53c9eeb0c74b1a4b5438e0e5c3d (diff) | |
download | CMake-94c6295db1c7ae759b466d4fb06f25b889ac888b.zip CMake-94c6295db1c7ae759b466d4fb06f25b889ac888b.tar.gz CMake-94c6295db1c7ae759b466d4fb06f25b889ac888b.tar.bz2 |
Help: Document site_name command use of HOSTNAME variable
-rw-r--r-- | Help/command/site_name.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Help/command/site_name.rst b/Help/command/site_name.rst index 1bcaead..09b5a9f 100644 --- a/Help/command/site_name.rst +++ b/Help/command/site_name.rst @@ -6,3 +6,7 @@ Set the given variable to the name of the computer. .. code-block:: cmake site_name(variable) + +On UNIX-like platforms, if the variable ``HOSTNAME`` is set, its value +will be executed as a command expected to print out the host name, +much like the ``hostname`` command-line tool. |