CMP0009.rst 828 B

123456789101112131415161718192021
  1. CMP0009
  2. -------
  3. FILE GLOB_RECURSE calls should not follow symlinks by default.
  4. In CMake 2.6.1 and below, :command:`file(GLOB_RECURSE)` calls would follow
  5. through symlinks, sometimes coming up with unexpectedly large result sets
  6. because of symlinks to top level directories that contain hundreds of
  7. thousands of files.
  8. This policy determines whether or not to follow symlinks encountered
  9. during a :command:`file(GLOB_RECURSE)` call. The ``OLD`` behavior for this
  10. policy is to follow the symlinks. The ``NEW`` behavior for this policy is not
  11. to follow the symlinks by default, but only if ``FOLLOW_SYMLINKS`` is given
  12. as an additional argument to the ``FILE`` command.
  13. .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 2.6.2
  14. .. |WARNS_OR_DOES_NOT_WARN| replace:: warns
  15. .. include:: STANDARD_ADVICE.txt
  16. .. include:: DEPRECATED.txt