mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-04 13:19:51 -05: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
|
.. code-block:: cmake
|
||||||
|
|
||||||
site_name(variable)
|
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