CMP0050.rst 725 B

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