summaryrefslogtreecommitdiffstats
path: root/Source/cmFileCommand.h
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2008-08-23 17:33:13 (GMT)
committerDavid Cole <david.cole@kitware.com>2008-08-23 17:33:13 (GMT)
commitccf603f0c2570247b97fb6289aa4990302ada3fb (patch)
tree2c8f030131c043878b0caf30a908dfe080b8f66c /Source/cmFileCommand.h
parent2e0dd809575c13624a4ae0958fc8293d0f3e1e00 (diff)
downloadCMake-ccf603f0c2570247b97fb6289aa4990302ada3fb.zip
CMake-ccf603f0c2570247b97fb6289aa4990302ada3fb.tar.gz
CMake-ccf603f0c2570247b97fb6289aa4990302ada3fb.tar.bz2
ENH: Add the RECURSE_SYMLINKS_OFF flag to the FILE GLOB_RECURSE command. Exposes the recently added kwsys capability that prevents recursing through symlinks to CMake scripts.
Diffstat (limited to 'Source/cmFileCommand.h')
-rw-r--r--Source/cmFileCommand.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmFileCommand.h b/Source/cmFileCommand.h
index 4173859..5d63fca 100644
--- a/Source/cmFileCommand.h
+++ b/Source/cmFileCommand.h
@@ -77,7 +77,7 @@ public:
" [NO_HEX_CONVERSION])\n"
" file(GLOB variable [RELATIVE path] [globbing expressions]...)\n"
" file(GLOB_RECURSE variable [RELATIVE path] \n"
- " [globbing expressions]...)\n"
+ " [RECURSE_SYMLINKS_OFF] [globbing expressions]...)\n"
" file(REMOVE [file1 ...])\n"
" file(REMOVE_RECURSE [file1 ...])\n"
" file(MAKE_DIRECTORY [directory1 directory2 ...])\n"
@@ -126,7 +126,9 @@ public:
" f[3-5].txt - match files f3.txt, f4.txt, f5.txt\n"
"GLOB_RECURSE will generate similar list as the regular GLOB, except "
"it will traverse all the subdirectories of the matched directory and "
- "match the files.\n"
+ "match the files. Subdirectories that are symlinks are traversed by "
+ "default to match the behavior or older CMake releases. Use "
+ "RECURSE_SYMLINKS_OFF to prevent recursion through symlinks.\n"
"Examples of recursive globbing include:\n"
" /dir/*.py - match all python files in /dir and subdirectories\n"
"MAKE_DIRECTORY will create the given directories, also if their parent "
35ed3c31222883bf8f'>Revert "bpo-33608: Factor out a private, per-interpreter ↵Victor Stinner2019-06-032-18/+7 | | | | | _Py_AddPendingCall(). (gh-13714)" (GH-13780) This reverts commit 6a150bcaeb190d1731b38ab9c7a5d1a352847ddc. * bpo-37087: Adding native ID support for OpenBSD (GH-13654)David Carlier2019-06-031-1/+1 | * bpo-26219: per opcode cache for LOAD_GLOBAL (GH-12884)Inada Naoki2019-06-033-0/+47 | | | | | | This patch implements per opcode cache mechanism, and use it in only LOAD_GLOBAL opcode. Based on Yury's opcache3.patch in bpo-26219. * bpo-33608: Factor out a private, per-interpreter _Py_AddPendingCall(). ↵Eric Snow2019-06-012-7/+18 | | | | (gh-13714) * bpo-36818: Add PyInterpreterState.runtime field. (gh-13129)Eric Snow2019-06-014-20/+15 | | | https://bugs.python.org/issue36818 * bpo-36974: rename _FastCallKeywords -> _Vectorcall (GH-13653)Jeroen Demeyer2019-05-303-3/+3 | * bpo-36974: remove _PyObject_HasFastCall (GH-13460)Jeroen Demeyer2019-05-301-4/+0 | * bpo-32388: Remove cross-version binary compatibility requirement in tp_flags ↵Antoine Pitrou2019-05-291-8/+10 | | | | | | | | (GH-4944) It is now allowed to add new fields at the end of the PyTypeObject struct without having to allocate a dedicated compatibility flag in tp_flags. This will reduce the risk of running out of bits in the 32-bit tp_flags value. * bpo-22385: Support output separators in hex methods. (#13578)Gregory P. Smith2019-05-291-0/+3 | | | | | | | | | | | | | | | | | | * bpo-22385: Support output separators in hex methods. Also in binascii.hexlify aka b2a_hex. The underlying implementation behind all hex generation in CPython uses the same pystrhex.c implementation. This adds support to bytes, bytearray, and memoryview objects. The binascii module functions exist rather than being slated for deprecation because they return bytes rather than requiring an intermediate step through a str object. This change was inspired by MicroPython which supports sep in its binascii implementation (and does not yet support the .hex methods). https://bugs.python.org/issue22385 * bpo-36974: implement PEP 590 (GH-13185)Jeroen Demeyer2019-05-29