• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1site_name
2---------
3
4Set the given variable to the name of the computer.
5
6.. code-block:: cmake
7
8  site_name(variable)
9
10On UNIX-like platforms, if the variable ``HOSTNAME`` is set, its value
11will be executed as a command expected to print out the host name,
12much like the ``hostname`` command-line tool.
13