site_name.rst 304 B

123456789101112
  1. site_name
  2. ---------
  3. Set the given variable to the name of the computer.
  4. .. code-block:: cmake
  5. site_name(variable)
  6. On UNIX-like platforms, if the variable ``HOSTNAME`` is set, its value
  7. will be executed as a command expected to print out the host name,
  8. much like the ``hostname`` command-line tool.