CMP0050.rst 720 B

1234567891011121314151617181920
  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. This policy was introduced in CMake version 3.0.
  12. CMake version |release| warns when the policy is not set and uses
  13. OLD behavior. Use the cmake_policy command to set it to OLD or
  14. NEW explicitly.
  15. .. include:: DEPRECATED.txt