CMP0014.rst 705 B

123456789101112131415161718
  1. CMP0014
  2. -------
  3. .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0
  4. .. include:: REMOVED_PROLOGUE.txt
  5. Input directories must have ``CMakeLists.txt``.
  6. CMake versions before 2.8 silently ignored missing ``CMakeLists.txt``
  7. files in directories referenced by :command:`add_subdirectory` or :command:`subdirs`,
  8. treating them as if present but empty. In CMake 2.8.0 and above this
  9. :command:`cmake_policy` determines whether or not the case is an error.
  10. The ``OLD`` behavior for this policy is to silently ignore the problem.
  11. The ``NEW`` behavior for this policy is to report an error.
  12. .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 2.8.0
  13. .. |WARNED_OR_DID_NOT_WARN| replace:: warned
  14. .. include:: REMOVED_EPILOGUE.txt