diff options
author | Steven Knight <knight@baldmt.com> | 2002-09-15 01:45:17 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2002-09-15 01:45:17 (GMT) |
commit | b04744713085a486615cbef5f489dc522988fb36 (patch) | |
tree | 2bac76ddc5252e4e37c6f5df0738278d1b2aa6d5 /doc | |
parent | 37d6dd7bf93de0e1cbd5382cd7687ff5294183ec (diff) | |
download | SCons-b04744713085a486615cbef5f489dc522988fb36.zip SCons-b04744713085a486615cbef5f489dc522988fb36.tar.gz SCons-b04744713085a486615cbef5f489dc522988fb36.tar.bz2 |
Provide a Scanner hook to allow file scans to be avoided when it isn't necessary.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/man/scons.1 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/man/scons.1 b/doc/man/scons.1 index dfed6c3..13c31d7 100644 --- a/doc/man/scons.1 +++ b/doc/man/scons.1 @@ -2681,6 +2681,16 @@ The argument is the argument supplied when the scanner was created, if any. +.IP scan_check +An optional Python function that takes a Node (file) +as an argument and returns whether the +Node should, in fact, +be scanned for dependencies. +This check can be used to eliminate unnecessary +calls to the scanner function when, +for example, the underlying file +represented by a Node does not yet exist. + .SH SYSTEM-SPECIFIC BEHAVIOR SCons and its configuration files are very portable, due largely to its implementation in Python. |