cmake/Help/command/site_name.rst

13 lines
304 B
ReStructuredText
Raw Normal View History

2014-08-03 19:52:23 +02:00
site_name
---------
Set the given variable to the name of the computer.
2019-11-11 23:01:05 +01:00
.. code-block:: cmake
2014-08-03 19:52:23 +02:00
site_name(variable)
2021-09-14 00:13:48 +02:00
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.