build_name.rst 393 B

123456789101112131415
  1. build_name
  2. ----------
  3. Disallowed. See CMake Policy :policy:`CMP0036`.
  4. Use ``${CMAKE_SYSTEM}`` and ``${CMAKE_CXX_COMPILER}`` instead.
  5. ::
  6. build_name(variable)
  7. Sets the specified variable to a string representing the platform and
  8. compiler settings. These values are now available through the
  9. :variable:`CMAKE_SYSTEM` and
  10. :variable:`CMAKE_CXX_COMPILER <CMAKE_<LANG>_COMPILER>` variables.