summaryrefslogtreecommitdiff
path: root/share/cmake-3.18/Help/command/build_name.rst
diff options
context:
space:
mode:
Diffstat (limited to 'share/cmake-3.18/Help/command/build_name.rst')
-rw-r--r--share/cmake-3.18/Help/command/build_name.rst15
1 files changed, 15 insertions, 0 deletions
diff --git a/share/cmake-3.18/Help/command/build_name.rst b/share/cmake-3.18/Help/command/build_name.rst
new file mode 100644
index 0000000..2a1fbae
--- /dev/null
+++ b/share/cmake-3.18/Help/command/build_name.rst
@@ -0,0 +1,15 @@
+build_name
+----------
+
+Disallowed since version 3.0. See CMake Policy :policy:`CMP0036`.
+
+Use ``${CMAKE_SYSTEM}`` and ``${CMAKE_CXX_COMPILER}`` instead.
+
+::
+
+ 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.