CMP0010.rst 774 B

123456789101112131415161718192021
  1. CMP0010
  2. -------
  3. .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0
  4. .. include:: REMOVED_PROLOGUE.txt
  5. Bad variable reference syntax is an error.
  6. In CMake 2.6.2 and below, incorrect variable reference syntax such as
  7. a missing close-brace (``${FOO``) was reported but did not stop
  8. processing of CMake code. This policy determines whether a bad
  9. variable reference is an error. The ``OLD`` behavior for this policy is
  10. to warn about the error, leave the string untouched, and continue.
  11. The ``NEW`` behavior for this policy is to report an error.
  12. If :policy:`CMP0053` is set to ``NEW``, this policy has no effect
  13. and is treated as always being ``NEW``.
  14. .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 2.6.3
  15. .. |WARNED_OR_DID_NOT_WARN| replace:: warned
  16. .. include:: REMOVED_EPILOGUE.txt