CMP0050.rst 657 B

12345678910111213141516171819
  1. CMP0050
  2. -------
  3. Disallow add_custom_command SOURCE signatures.
  4. CMake 2.8.12 and lower allowed a signature for :command:`add_custom_command`
  5. which specified an input to a command. This was undocumented behavior.
  6. Modern use of CMake associates custom commands with their output, rather
  7. than their input.
  8. The ``OLD`` behavior for this policy is to allow the use of
  9. :command:`add_custom_command` SOURCE signatures. The ``NEW`` behavior for this
  10. policy is to issue an error if such a signature is used.
  11. .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.0
  12. .. |WARNS_OR_DOES_NOT_WARN| replace:: warns
  13. .. include:: STANDARD_ADVICE.txt
  14. .. include:: DEPRECATED.txt