summaryrefslogtreecommitdiffstats
path: root/Help/command/build_name.rst
blob: 5acf85830022548281bda3eae7c3e05cbdb287d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
build_name
----------

Disallowed since version 3.0.  See CMake Policy :policy:`CMP0036`.

Use ``${CMAKE_SYSTEM}`` and ``${CMAKE_CXX_COMPILER}`` instead.

.. code-block:: cmake

  build_name(variable)

Sets the specified variable to a string representing the platform and
compiler settings.  These values are now available through the
:variable:`CMAKE_SYSTEM` and
:variable:`CMAKE_CXX_COMPILER <CMAKE_<LANG>_COMPILER>` variables.