CMP0044.rst 916 B

123456789101112131415161718192021
  1. CMP0044
  2. -------
  3. Case sensitive ``<LANG>_COMPILER_ID`` generator expressions
  4. CMake 2.8.12 introduced the ``<LANG>_COMPILER_ID``
  5. :manual:`generator expressions <cmake-generator-expressions(7)>` to allow
  6. comparison of the :variable:`CMAKE_<LANG>_COMPILER_ID` with a test value. The
  7. possible valid values are lowercase, but the comparison with the test value
  8. was performed case-insensitively.
  9. The ``OLD`` behavior for this policy is to perform a case-insensitive comparison
  10. with the value in the ``<LANG>_COMPILER_ID`` expression. The ``NEW`` behavior
  11. for this policy is to perform a case-sensitive comparison with the value in
  12. the ``<LANG>_COMPILER_ID`` expression.
  13. This policy was introduced in CMake version 3.0. CMake version
  14. |release| warns when the policy is not set and uses ``OLD`` behavior. Use
  15. the :command:`cmake_policy` command to set it to ``OLD`` or ``NEW`` explicitly.
  16. .. include:: DEPRECATED.txt