table of contents
SCONSIGN(1) | SCons 4.7.0 | SCONSIGN(1) |
NAME¶
sconsign - print SCons signature file information
SYNOPSIS¶
sconsign [options...] [file...]
DESCRIPTION¶
Displays the contents of one or more sconsign files, the signature/dependency database used by the SCons build tool. The database contains all Nodes that are known to the build, either by declaration in the build configuration, produced as side effects, or detected by inspection.
By default, sconsign dumps the entire contents of the sconsign file(s). Without options, individual dependency entries are printed in the following format:
depfile: content-signature timestamp length
implicit-dependency-1: content-signature timestamp length
implicit-dependency-2: content-signature timestamp length
...
build-signature [action-string]
content-signature is the hash of the file's contents (csig) and build-signature is the hash of the command line or other build action used to build a target (bactsig). If provided, action-string is the unexpanded string action or the function called. None is printed in place of any missing timestamp, csig, or bactsig values for any entry or any of its dependencies. If the entry has no implicit dependencies, or no build action, the corresponding lines are omitted.
An indicator line is printed for each directory, as directories do not have signatures in the database and so would not otherwise be shown.
By default, sconsign assumes that any file arguments that end with a .dblite suffix contains signature entries for more than one directory (that is, was specified by the SConsignFile SCons function). Any file argument that has no suffix is assumed to be an old-style (deprecated) sconsign file containing the signature entries for a single directory. If neither of those is true, sconsign attempts to guess the format. If that does not work, an explicit format may be specified using the -f or --format= options.
If there are no file arguments, the name .sconsign.dblite is assumed by default.
OPTIONS¶
Various options control what information is printed and the format:
-a, --act, --action
-c, --csig
-d DIRECTORY, --dir=DIRECTORY
-e ENTRY, --entry=ENTRY
-f FORMAT, --format=FORMAT
-h, --help
-i, --implicit
--raw
-r, --readable
-t, --timestamp
-v, --verbose
ENVIRONMENT¶
SCONS_LIB_DIR
SEE ALSO¶
The SCons reference (manpage) at https://scons.org/doc/production/HTML/scons-man.html, the SCons User Guide at https://scons.org/doc/production/HTML/scons-user.html, the SCons source code on GitHub[1].
AUTHORS¶
Originally: Steven Knight knight@baldmt.com and Anthony Roach aroach@electriceyeball.com.
Since 2010: The SCons Development Team scons-dev@scons.org.
NOTES¶
- 1.
- on GitHub
03/17/2024 | SCons 4.7.0 |