mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-29 04:09:35 +03:00
Help: Document site_name command use of HOSTNAME variable
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user