2 # __FILE__ __REVISION__ __DATE__ __DEVELOPER__
5 SCons - a software construction tool
15 - Support more flexible inclusion of separate C and C++ compilers.
17 - Use package management tools on AIX and Solaris to find where
18 the comilers are installed, and what version they are.
20 - Add support for CCVERSION and CXXVERSION variables for a number
21 of C and C++ compilers.
25 - The -Q option suppressed too many messages; fix it so that it only
26 suppresses the Reading/Building messages.
30 RELEASE 0.92 - Wed, 20 Aug 2003 03:45:28 -0500
32 From Charles Crain and Gary Oberbrunner:
34 - Fix Tool import problems with the Intel and PharLap linkers.
38 - Refactor the DictCmdGenerator class to be a Selector subclass.
40 - Allow the DefaultEnvironment() function to take arguments and pass
41 them to instantiation of the default construction environment.
43 - Update the Debian package so it uses Python 2.2 and more closely
44 resembles the currently official Debian packaging info.
48 - When the yacc -d flag is used, take the .h file base name from the
49 target .c file, not the source (matching what yacc does).
53 RELEASE 0.91 - Thu, 14 Aug 2003 13:00:44 -0500
57 - Support specifying a list of tools when calling Environment.Copy().
59 - Give a Value Nodes a timestamp of the system time when they're
60 created, so they'll work when using timestamp-based signatures.
62 - Add a DefaultEnvironment() function that only creates a default
63 environment on-demand (for fetching source files, e.g.).
65 - Portability fix for test/M4.py.
69 - Tighten up the scons -H help output.
71 - When the input yacc file ends in .yy and the -d flag is specified,
72 recognize that a .hpp file (not a .h file) will be created.
74 - Make builder prefixes work correctly when deducing a target
75 from a source file name in another directory.
77 - Documentation fixes: typo in the man page; explain up-front about
78 not propagating the external environment.
80 - Use "cvs co -d" instead of "cvs co -p >" when checking out something
81 from CVS with a specified module name. This avoids zero-length
82 files when there is a checkout error.
84 - Add an "sconsign" script to print the contents of .sconsign files.
86 - Speed up maintaining the various lists of Node children by using
87 dictionaries to avoid "x in list" searches.
89 - Cache the computed list of Node children minus those being Ignored
90 so it's only calculated once.
92 - Fix use of the --cache-show option when building a Program()
93 (or using any other arbitrary action) by making sure all Action
94 instances have strfunction() methods.
96 - Allow the source of Command() to be a directory.
98 - Better error handling of things like raw TypeErrors in SConscripts.
100 - When installing using "setup.py install --prefix=", suppress the
101 distutils warning message about adding the (incorrect) library
102 directory to your search path.
104 - Correct the spelling of the "validater" option to "validator."
105 Add a DeprecatedWarning when the old spelling is used.
107 - Allow a Builder's emitter to be a dictionary that maps source file
108 suffixes to emitter functions, using the suffix of the first file
109 in the source list to pick the right one.
111 - Refactor the creation of the Program, *Object and *Library Builders
112 so that they're moved out of SCons.Defaults and created on demand.
114 - Don't split SConscript file names on white space.
116 - Document the SConscript function's "dirs" and "name" keywords.
118 - Remove the internal (and superfluous) SCons.Util.argmunge() function.
120 - Add /TP to the default CXXFLAGS for msvc, so it can compile all
121 of the suffixes we use as C++ files.
123 - Allow the "prefix" and "suffix" attributes of a Builder to be
124 callable objects that return generated strings, or dictionaries
125 that map a source file suffix to the right prefix/suffix.
127 - Support a MAXLINELINELENGTH construction variable on Win32 systems
128 to control when a temporary file is used for long command lines.
130 - Make how we build .rpm packages not depend on the installation
131 locations from the distutils being used.
133 - When deducing a target Node, create it directly from the first
134 source Node, not by trying to create the right string to pass to
137 - Add support for SWIG.
141 - Test portability fixes for FreeBSD.
143 From Gary Oberbrunner:
145 - Report the target being built in error messages when building
146 multiple sources from different extensions, or when the target file
147 extension can't be deduced, or when we don't have an action for a
150 - Provide helpful error messages when the arguments to env.Install()
153 - Fix the value returned by the Node.prevsiginfo() method to conform
154 to a previous change when checking whether a node is current.
156 - Supply a stack trace if the Taskmaster catches an exception.
158 - When using a temporary file for a long link line on Win32 systems,
159 (also) print the command line that is being executed through the
162 - Initialize the LIB environment variable when using the Intel
165 - Documentation fixes: better explain the AlwaysBuild() function.
169 - When the -debug=pdb option is specified, use pdb.Pdb().runcall() to
170 call pdb directly, don't call Python recursively.
174 - Add support for a platform-independent CPPDEFINES variable.
176 From Christoph Wiedemann:
178 - Have the g++ Tool actually use g++ in preference to c++.
180 - Have the gcc Tool actually use gcc in preference to cc.
182 - Add a gnutools.py test of the GNU tool chain.
184 - Be smarter about linking: use $CC by default and $CXX only if we're
185 linking with any C++ objects.
187 - Avoid SCons hanging when a piped command has a lot of output to read.
189 - Add QT support for preprocessing .ui files into .c files.
193 RELEASE 0.90 - Wed, 25 Jun 2003 14:24:52 -0500
197 - Fix the _concat() documentation, and add a test for it.
199 - Portability fixes for non-GNU versions of lex and yacc.
203 - Fix handling of library prefixes when the subdirectory matches
206 From Timothee Bessett:
212 - Use '.lnk' as the suffix on the temporary file for linking long
213 command lines (necessary for the Phar Lap linkloc linker).
215 - Save non-string Options values as their actual type.
217 - Save Options string values that contain a single quote correctly.
219 - Save any Options values that are changed from the default
220 Environment values, not just ones changed on the command line or in
223 - Make closing the Options file descriptor exception-safe.
227 - SCons now enforces (with an error) that construction variables
228 must have the same form as valid Python identifiers.
230 - Fix man page bugs: remove duplicate AddPostAction() description;
231 document no_import_lib; mention that CPPFLAGS does not contain
232 $_CPPINCFLAGS; mention that F77FLAGS does not contain $_F77INCFLAGS;
233 mention that LINKFLAGS and SHLINKFLAGS contains neither $_LIBFLAGS
236 - Eliminate a dependency on the distutils.fancy_getopt module by
237 copying and pasting its wrap_text() function directly.
239 - Make the Script.Options() subclass match the underlying base class
242 - When reporting a target is up to date, quote the target like make
243 (backquote-quote) instead of with double quotes.
245 - Fix handling of ../* targets when using -U, -D or -u.
249 - Don't update the .sconsign files when run with -n.
251 From Gary Oberbrunner:
253 - Add support for the Intel C Compiler (icl.exe).
261 - Fix use of SConf in paths with white space in them.
263 - Add CheckFunc and CheckType functionality to SConf.
265 - Fix use of SConf with Builders that return a list of nodes.
267 From David Snopek and Christoph Wiedemann
269 - Fix use of the SConf subsystem with SConscriptChdir().
273 - Check for the existence of MS Visual Studio on disk before using it,
274 to avoid getting fooled by leftover junk in the registry.
276 - Add support for MSVC++ .NET.
278 - Add support for MS Visual Studio project files (DSP, DSW,
279 SLN and VCPROJ files).
281 From Christoph Wiedemann
283 - SConf now works correctly when the -n and -q options are used.
287 RELEASE 0.14 - Wed, 21 May 2003 05:16:32 -0500
291 - Use .dll (not .so) for shared libraries on Cygwin; use -fPIC
294 - Use 'rm' to remove files under Cygwin.
296 - Add a PLATFORM variable to construction environments.
298 - Remove the "platform" argument from tool specifications.
300 - Propogate PYTHONPATH when running the regression tests so distutils
301 can be found in non-standard locations.
303 - Using MSVC long command-line linking when running Cygwin.
305 - Portability fixes for a lot of tests.
307 - Add a Value Node class for dependencies on in-core Python values.
311 - Pass an Environment to the Options validator method, and
312 add an Options.Save() method.
314 From Steve Christensen:
316 - Add an optional sort function argument to the GenerateHelpText()
319 - Evaluate the "varlist" variables when computing the signature of a
324 - Parse the source .java files for class names (including inner class
325 names) to figure out the target .class files that will be created.
327 - Make Java support work with Repositories and SConscriptChdir(0).
329 - Pass Nodes, not strings, to Builder emitter functions.
331 - Refactor command-line interpolation and signature calculation
332 so we can use real Node attributes.
336 - Add Java support (javac, javah, jar and rmic).
338 - Propagate the external SYSTEMROOT environment variable into ENV on
339 Win32 systems, so external commands that use sockets will work.
341 - Add a .posix attribute to PathList expansions.
343 - Check out CVS source files using POSIX path names (forward slashes
344 as separators) even on Win32.
346 - Add Node.clear() and Node.FS.Entry.clear() methods to wipe out a
347 Node's state, allowing it to be re-evaluated by continuous
348 integration build interfaces.
350 - Change the name of the Set{Build,Content}SignatureType() functions
351 to {Target,Source}Signatures(). Deprecate the old names but support
352 them for backwards compatibility.
354 - Add internal SCons.Node.FS.{Dir,File}.Entry() methods.
356 - Interpolate the null string if an out-of-range subscript is used
357 for a construction variable.
359 - Fix the internal Link function so that it properly links or copies
360 files in subsidiary BuildDir directories.
362 - Refactor the internal representation of a single execution instance
363 of an action to eliminate redundant signature calculations.
365 - Eliminate redundant signature calculations for Nodes.
367 - Optimize out calling hasattr() before accessing attributes.
369 - Say "Cleaning targets" (not "Building...") when the -c option is
374 - Quote the "Entering directory" message like Make.
378 - Add support for using Ghostscript to convert Postscript to PDF files.
382 - Add a standalone "Alias" function (separate from an Environment).
384 - Make Export() work for local variables.
386 - Support passing a dictionary to Export().
388 - Support Import('*') to import everything that's been Export()ed.
390 - Fix an undefined exitvalmap on Win32 systems.
392 - Support new SetOption() and GetOption() functions for setting
393 various command-line options from with an SConscript file.
395 - Deprecate the old SetJobs() and GetJobs() functions in favor of
396 using the new generic {Set,Get}Option() functions.
398 - Fix a number of tests that searched for a Fortran compiler using the
399 external PATH instead of what SCons would use.
401 - Fix the interaction of SideEffect() and BuildDir() so that (for
402 example) PDB files get put correctly in a BuildDir().
406 - Contribute the "Autoscons" code for Autoconf-like checking for
407 the existence of libraries, header files and the like.
409 - Have the Tool() function add the tool name to the $TOOLS
410 construction variable.
414 - Support the C preprocessor #import statement.
416 - Allow the SharedLibrary() Builder on Win32 systems to be able to
417 register a newly-built dll using regsvr32.
419 - Add a Builder for Windows type library (.tlb) files from IDL files.
421 - Add an IDL scanner.
423 - Refactor the Fortran, C and IDL scanners to share common logic.
425 - Add .srcpath and .srcdir attributes to $TARGET and $SOURCE.
427 From Christoph Wiedemann:
429 - Integrate David Snopek's "Autoscons" code as the new SConf
430 configuration subsystem, including caching of values between
431 runs (using normal SCons dependency mechanisms), tests, and
436 RELEASE 0.13 - Mon, 31 Mar 2003 20:22:00 -0600
440 - Fix a bug when BuildDir(duplicate=0) is used and SConscript
441 files are called from within other SConscript files.
443 - Support (older) versions of Perforce which don't set the Windows
448 RELEASE 0.12 - Thu, 27 Mar 2003 23:52:09 -0600
452 - Added support for the Perforce source code management system.
454 - Fix str(Node.FS) so that it returns a path relative to the calling
455 SConscript file's directory, not the top-level directory.
457 - Added support for a separate src_dir argument to SConscript()
458 that allows explicit specification of where the source files
459 for an SConscript file can be found.
461 - Support more easily re-usable flavors of command generators by
462 calling callable variables when strings are expanded.
466 - Added an INSTALL construction variable that can be set to a function
467 to control how the Install() and InstallAs() Builders install files.
468 The default INSTALL function now copies, not links, files.
470 - Remove deprecated features: the "name" argument to Builder objects,
471 and the Environment.Update() method.
473 - Add an Environment.SourceCode() method to support fetching files
474 from source code systems. Add factory methods that create Builders
475 to support BitKeeper, CVS, RCS, and SCCS. Add support for fetching
476 files from RCS or SCCS transparently (like GNU Make).
478 - Make the internal to_String() function more efficient.
480 - Make the error message the same as other build errors when there's a
481 problem unlinking a target file in preparation for it being built.
483 - Make TARGET, TARGETS, SOURCE and SOURCES reserved variable names and
484 warn if the user tries to set them in a construction environment.
486 - Add support for Tar and Zip files.
488 - Better documentation of the different ways to export variables to a
489 subsidiary SConscript file. Fix documentation bugs in a tools
490 example, places that still assumed SCons split strings on white
493 - Support fetching arbitrary files from the TARGETS or SOURCES lists
494 (e.g. ${SOURCES[2]}) when calculating the build signature of a
497 - Don't silently swallow exceptions thrown by Scanners (or other
498 exceptions while finding a node's dependent children).
500 - Push files to CacheDir() before calling the superclass built()
501 method (which may clear the build signature as part of clearing
502 cached implicit dependencies, if the file has a source scanner).
503 (Bug reported by Jeff Petkau.)
505 - Raise an internal error if we attempt to push a file to CacheDir()
506 with a build signature of None.
508 - Add an explicit Exit() function for terminating early.
510 - Change the documentation to correctly describe that the -f option
511 doesn't change to the directory in which the specified file lives.
513 - Support changing directories locally with SConscript directory
514 path names relative to any SConstruct file specified with -f.
515 This allows you to build in another directory by simply changing
516 there and pointing at the SConstruct file in another directory.
518 - Change the default SConscriptChdir() behavior to change to the
519 SConscript directory while it's being read.
521 - Fix an exception thrown when the -U option was used with no
522 Default() target specified.
524 - Fix -u so that it builds things in corresponding build directories
525 when used in a source directory.
529 - Add SharedObject() support to the masm tool.
531 - Fix WhereIs() to return normalized paths.
535 - Don't copy a built file to a CacheDir() if it's already there.
537 - Avoid partial copies of built files in a CacheDir() by copying
538 to a temporary file and renaming.
542 - Fix incorrect dependency-cycle errors when an Aliased source doesn't
547 RELEASE 0.11 - Tue, 11 Feb 2003 05:24:33 -0600
551 - Add support for IRIX and the SGI MIPSPro tool chain.
553 - Support using the MSVC tool chain when running Cygwin Python.
557 - Avoid losing signal bits in the exit status from a command,
558 helping terminate builds on interrupt (CTRL+C).
562 - Added new AddPreAction() and AddPostAction() functions that support
563 taking additional actions before or after building specific targets.
565 - Add support for the PharLap ETS tool chain.
569 - Allow Python function Actions to specify a list of construction
570 variables that should be included in the Action's signature.
572 - Allow libraries in the LIBS variable to explicitly include the prefix
573 and suffix, even when using the GNU linker.
574 (Bug reported by Neal Becker.)
576 - Use DOS-standard CR-LF line endings in the scons.bat file.
577 (Bug reported by Gary Ruben.)
579 - Doc changes: Eliminate description of deprecated "name" keyword
580 argument from Builder definition (reported by Gary Ruben).
582 - Support using env.Append() on BUILDERS (and other dictionaries).
583 (Bug reported by Bj=F6rn Bylander.)
585 - Setting the BUILDERS construction variable now properly clears
586 the previous Builder attributes from the construction Environment.
587 (Bug reported by Bj=F6rn Bylander.)
589 - Fix adding a prefix to a file when the target isn't specified.
590 (Bug reported by Esa Ilari Vuokko.)
592 - Clean up error messages from problems duplicating into read-only
593 BuildDir directories or into read-only files.
595 - Add a CommandAction.strfunction() method, and add an "env" argument
596 to the FunctionAction.strfunction() method, so that all Action
597 objects have strfunction() methods, and the functions for building
598 and returning a string both take the same arguments.
600 - Add support for new CacheDir() functionality to share derived files
601 between builds, with related options --cache-disable, --cache-force,
604 - Change the default behavior when no targets are specified to build
605 everything in the current directory and below (like Make). This
606 can be disabled by specifying Default(None) in an SConscript.
608 - Revamp SCons installation to fix a case-sensitive installation
609 on Win32 systems, and to add SCons-specific --standard-lib,
610 --standalone-lib, and --version-lib options for easier user
611 control of where the libraries get installed.
613 - Fix the ability to directly import and use Platform and Tool modules
614 that have been implicitly imported into an Environment().
616 - Add support for allowing an embedding interface to annotate a node
619 - Extend the SConscript() function to accept build_dir and duplicate
620 keyword arguments that function like a BuildDir() call.
624 - Fix the output of -c -n when directories are involved, so it
629 - Use a different shared object suffix (.os) when using gcc so shared
630 and static objects can exist side-by-side in the same directory.
632 - Allow the same object files on Win32 to be linked into either
633 shared or static libraries.
635 - Cache implicit cache values when using --implicit-cache.
639 RELEASE 0.10 - Thu, 16 Jan 2003 04:11:46 -0600
641 From Derrick 'dman' Hudson:
643 - Support Repositories on other file systems by symlinking or
644 copying files when hard linking won't work.
648 - Remove Python bytecode (*.pyc) files from the scons-local packages.
650 - Have FunctionActions print a description of what they're doing
651 (a representation of the Python call).
653 - Fix the Install() method so that, like other actions, it prints
654 what would have happened when the -n option is used.
656 - Don't create duplicate source files in a BuildDir when the -n
659 - Refactor the Scanner interface to eliminate unnecessary Scanner
660 calls and make it easier to write efficient scanners.
662 - Added a "recursive" flag to Scanner creation that specifies the
663 Scanner should be invoked recursively on dependency files returned
666 - Significant performance improvement from using a more efficient
667 check, throughout the code, for whether a Node has a Builder.
669 - Fix specifying only the source file to MultiStepBuilders such as
670 the Program Builder. (Bug reported by Dean Bair.)
672 - Fix an exception when building from a file with the same basename as
673 the subdirectory in which it lives. (Bug reported by Gerard Patel.)
675 - Fix automatic deduction of a target file name when there are
676 multiple source files specified; the target is now deduced from just
677 the first source file in the list.
679 - Documentation fixes: better initial explanation of SConscript files;
680 fix a misformatted "table" in the StaticObject explanation.
682 From Steven Knight and Steve Leblanc:
684 - Fix the -c option so it will remove symlinks.
688 - Add a Clean() method to support removing user-specified targets
689 when using the -c option.
691 - Add a development script for running SCons through PyChecker.
693 - Clean up things found by PyChecker (mostly unnecessary imports).
695 - Add a script to use HappyDoc to create HTML class documentation.
699 - Make the Environment.get() method return None by default.
703 - Add SetJobs() and GetJobs() methods to allow configuration of the
704 number of default jobs (still overridden by -j).
706 - Convert the .sconsign file format from ASCII to a pickled Python
709 - Error message cleanups: Made consistent the format of error
710 messages (now all start with "scons: ***") and warning messages (now
711 all start with "scons: warning:"). Caught more cases with the "Do
712 not know how to build" error message.
714 - Added support for the MinGW tool chain.
716 - Added a --debug=includes option.
720 RELEASE 0.09 - Thu, 5 Dec 2002 04:48:25 -0600
724 - Add a Prepend() method to Environments, to append values to
725 the beginning of construction variables.
729 - Add long command-line support to the "lib" Tool (Microsoft library
734 - Allow $$ in a string to be passed through as $.
736 - Support file names with odd characters in them.
738 - Add support for construction variable substition on scanner
739 directories (in CPPPATH, F77PATH, LIBPATH, etc.).
741 From Charles Crain and Steven Knight:
743 - Add Repository() functionality, including the -Y option.
747 - Fix auto-deduction of target names so that deduced targets end
748 up in the same subdirectory as the source.
750 - Don't remove source files specified on the command line!
752 - Suport the Intel Fortran Compiler (ifl.exe).
754 - Supply an error message if there are no command-line or
755 Default() targets specified.
757 - Fix the ASPPCOM values for the GNU assembler.
758 (Bug reported by Brett Polivka.)
760 - Fix an exception thrown when a Default() directory was specified
761 when using the -U option.
763 - Issue a warning when -c can't remove a target.
765 - Eliminate unnecessary Scanner calls by checking for the
766 existence of a file before scanning it. (This adds a generic
767 hook to check an arbitrary condition before scanning.)
769 - Add explicit messages to tell when we're "Reading SConscript files
770 ...," "done reading SConscript files," "Building targets," and
771 "done building targets." Add a -Q option to supress these.
773 - Add separate $SHOBJPREFIX and $SHOBJSUFFIX construction variables
774 (by default, the same as $OBJPREFIX and $OBJSUFFIX).
776 - Add Make-like error messages when asked to build a source file,
777 and before trying to build a file that doesn't have all its source
778 files (including when an invalid drive letter is used on WIN32).
780 - Add an scons-local-{version} package (in both .tar.gz and .zip
781 flavors) to help people who want to ship SCons as a stand-alone
782 build tool in their software packages.
784 - Prevent SCons from unlinking files in certain situations when
785 the -n option is used.
787 - Change the name of Tool/lib.py to Tool/mslib.py.
789 From Steven Knight and Anthony Roach:
791 - Man page: document the fact that Builder calls return Node objects.
795 - Refactor option processing to use our own version of Greg Ward's
796 Optik module, modified to run under Python 1.5.2.
798 - Add a ParseConfig() command to modify an environment based on
799 parsing output from a *-config command.
803 - Fix interpretation of '#/../foo' on Win32 systems.
807 - Fixed use of command lines with spaces in their arguments,
808 and use of Nodes with spaces in their string representation.
810 - Make access and modification times of files in a BuildDir match
811 the source file, even when hard linking isn't available.
813 - Make -U be case insensitive on Win32 systems.
815 - Issue a warning and continue when finding a corrupt .sconsign file.
817 - Fix using an alias as a dependency of a target so that if one of the
818 alias' dependencies gets rebuilt, the resulting target will, too.
820 - Fix differently ordered targets causing unnecessary rebuilds
821 on case insensitive systems.
823 - Use os.system() to execute external commands whenever the "env"
824 utility is available, which is much faster than fork()/exec(),
825 and fixes the -j option on several platforms.
827 - Fix use of -j with multiple targets.
829 - Add an Options() object for friendlier accomodation of command-
832 - Add support for Microsoft VC++ precompiled header (.pch) files,
833 debugger (.pdb) files, and resource (.rc) files.
835 - Don't compute the $_CPPINCFLAGS, $_F77INCFLAGS, $_LIBFLAGS and
836 $_LIBDIRFLAGS variables each time a command is executed, define
837 them so they're computed only as needed. Add a new _concat
838 function to the Environment that allows people to define their
839 own similar variables.
841 - Fix dependency scans when $LIBS is overridden.
843 - Add EnsurePythonVersion() and EnsureSConsVersion() functions.
845 - Fix the overly-verbose stack trace on ListBuilder build errors.
847 - Add a SetContentSignatureType() function, allowing use of file
848 timestamps instead of MD5 signatures.
850 - Make -U and Default('source') fail gracefully.
852 - Allow the File() and Dir() methods to take a path-name string as
853 the starting directory, in addition to a Dir object.
855 - Allow the command handler to be selected via the SPAWN, SHELL
856 and ESCAPE construction variables.
858 - Allow construction variables to be overridden when a Builder
863 - Dynamically check for the existence of utilities with which to
864 initialize Environments by default.
868 RELEASE 0.08 - Mon, 15 Jul 2002 12:08:51 -0500
872 - Fixed a bug with relative CPPPATH dirs when using BuildDir().
873 (Bug reported by Bob Summerwill.)
875 - Added a warnings framework and a --warn option to enable or
878 - Make the C scanner warn users if files referenced by #include
879 directives cannot be found and --warn=dependency is specified.
881 - The BUILDERS construction variable should now be a dictionary
882 that maps builder names to actions. Existing uses of lists,
883 and the Builder name= keyword argument, generate warnings
884 about use of deprecated features.
886 - Removed the "shared" keyword argument from the Object and
889 - Added separated StaticObject, SharedObject, StaticLibrary and
890 SharedLibrary builders. Made Object and Library synonyms for
891 StaticObject and StaticLibrary, respectively.
893 - Add LIBS and LIBPATH dependencies for shared libraries.
895 - Removed support for the prefix, suffix and src_suffix arguments
896 to Builder() to be callable functions.
898 - Fix handling file names with multiple dots.
900 - Allow a build directory to be outside of the SConstruct tree.
902 - Add a FindFile() function that searches for a file node with a
905 - Add $CPPFLAGS to the shared-object command lines for g++ and gcc.
907 From Charles Crain and Steven Knight:
909 - Add a "tools=" keyword argument to Environment instantiation,
910 and a separate Tools() method, for more flexible specification
911 of tool-specific environment changes.
915 - Add a "platform=" keyword argument to Environment instantiation,
916 and a separate Platform() method, for more flexible specification
917 of platform-specific environment changes.
919 - Updated README instructions and setup.py code to catch an
920 installation failure from not having distutils installed.
922 - Add descriptions to the -H help text for -D, -u and -U so
923 people can tell them apart.
925 - Remove the old feature of automatically splitting strings
926 of file names on white space.
928 - Add a dependency Scanner for native Fortran "include" statements,
929 using a new "F77PATH" construction variable.
931 - Fix C #include scanning to detect file names with characters like
934 - Add more specific version / build output to the -v option.
936 - Add support for the GNU as, Microsoft masm, and nasm assemblers.
938 - Allow the "target" argument to a Builder call to be omitted, in
939 which case the target(s) are deduced from the source file(s) and the
940 Builder's specified suffix.
942 - Add a tar archive builder.
944 - Add preliminary support for the OS/2 Platform, including the icc
949 - Fix --implicit-cache if the scanner returns an empty list.
953 - Add a "multi" keyword argument to Builder creation that specifies
954 it's okay to call the builder multiple times for a target.
956 - Set a "multi" on Aliases so multiple calls will append to an Alias.
958 - Fix emitter functions' use of path names when using BuildDir or
961 - Fix --implicit-cache causing redundant rebuilds when the header
964 - Fix --implicit-cache when a file has no implicit dependencies and
965 its source is generated.
967 - Make the drive letters on Windows always be the same case, so that
968 changes in the case of drive letters don't cause a rebuild.
970 - Fall back to importing the SCons.TimeStamp module if the SCons.MD5
971 module can't be imported.
973 - Fix interrupt handling to guarantee that a single interrupt will
974 halt SCons both when using -j and not.
976 - Fix .sconsign signature storage so that output files of one build
977 can be safely used as input files to another build.
979 - Added a --debug=time option to print SCons execution times.
981 - Print an error message if a file can't be unlinked before being
982 built, rather than just silently terminating the build.
984 - Add a SideEffect() method that can be used to tell the build
985 engine that a given file is created as a side effect of building
986 a target. A file can be specified as a side effect of more than
987 one build comand, in which case the commands will not be executed
990 - Significant performance gains from not using our own version of
991 the inefficient stock os.path.splitext() method, caching source
992 suffix computation, code cleanup in MultiStepBuilder.__call__(),
993 and replicating some logic in scons_subst().
995 - Add --implicit-deps-changed and --implicit-deps-unchanged options.
997 - Add a GetLaunchDir() function.
999 - Add a SetBuildSignatureType() function.
1003 - Add an Append() method to Environments, to append values to
1004 construction variables.
1006 - Change the name of Update() to Replace(). Keep Update() as a
1007 deprecated synonym, at least for now.
1009 From Terrel Shumway:
1011 - Use a $PYTHON construction variable, initialized to sys.executable,
1012 when using Python to build parts of the SCons packages.
1014 - Use sys.prefix, not sys.exec_prefix, to find pdb.py.
1018 RELEASE 0.07 - Thu, 2 May 2002 13:37:16 -0500
1022 - Changes to build SCons packages on IRIX (and other *NIces).
1024 - Don't create a directory Node when a file already exists there,
1027 - Add 'dirs' and 'names' keyword arguments to SConscript for
1028 easier specification of subsidiary SConscript files.
1032 - Internal cleanup of environment passing to function Actions.
1034 - Builders can now take arbitrary keyword arguments to create
1035 attributes to be passed to: command generator functions,
1036 FunctionAction functions, Builder emitter functions (below),
1037 and prefix/suffix generator functions (below).
1039 - Command generator functions can now return ANYTHING that can be
1040 converted into an Action (a function, a string, a CommandGenerator
1041 instance, even an ActionBase instance).
1043 - Actions now call get_contents() with the actual target and source
1044 nodes used for the build.
1046 - A new DictCmdGenerator class replaces CompositeBuilder to support
1047 more flexible Builder behavior internally.
1049 - Builders can now take an emitter= keyword argument. An emitter
1050 is a function that takes target, source, and env argument, then
1051 return a 2-tuple of (new sources, new targets). The emitter is
1052 called when the Builder is __call__'ed, allowing a user to modify
1053 source and target lists.
1055 - The prefix, suffix and src_suffix Builder arguments now take a
1056 callable as well a string. The callable is passed the Environment
1057 and any extra Builder keyword arguments and is expected to return
1058 the appropriate prefix or suffix.
1060 - CommandActions can now be a string, a list of command + argument
1061 strings, or a list of commands (strings or lists).
1063 - Added shared library support. The Object and Library Builders now
1064 take a "shared=1" keyword argument to specify that a shared object
1065 or shared library should be built. It is an error to try to build
1066 static objects into a shared library or vice versa.
1068 - Win32 support for .def files has been added. Added the Win32-specific
1069 construction variables $WIN32DEFPREFIX, $WIN32DEFSUFFIX,
1070 $WIN32DLLPREFIX and $WIN32IMPLIBPREFIX. When building a .dll,
1071 the new construction variable $WIN32_INSERT_DEF, controls whether
1072 the appropriately-named .def file is inserted into the target
1073 list (if not already present). A .lib file is always added to
1074 a Library build if not present in the list of targets.
1076 - ListBuilder now passes all targets to the action, not just the first.
1078 - Fix so that -c now deletes generated yacc .h files.
1080 - Builder actions and emitter functions can now be initialized, through
1081 construction variables, to things other than strings.
1083 - Make top-relative '#/dir' lookups work like '#dir'.
1085 - Fix for relative CPPPATH directories in subsidiary SConscript files
1088 - Add a for_signature argument to command generators, so that
1089 generators that need to can return distinct values for the
1090 command signature and for executing the command.
1094 - Create a better scons.bat file from a py2bat.py script on the Python
1095 mailing list two years ago (modeled after pl2bat.pl).
1099 - Fix so that -c -n does *not* remove the targets!
1101 - Man page: Add a hierarchical libraries + Program example.
1103 - Support long MSVC linker command lines through a builder action
1104 that writes to a temporary file and uses the magic MSVC "link @file"
1105 argument syntax if the line is longer than 2K characters.
1107 - Fix F77 command-line options on Win32 (use /Fo instead of -o).
1109 - Use the same action to build from .c (lower case) and .C (upper
1110 case) files on case-insensitive systems like Win32.
1112 - Support building a PDF file directly from a TeX or LaTeX file
1113 using pdftex or pdflatex.
1115 - Add a -x option to runtest.py to specify the script being tested.
1116 A -X option indicates it's an executable, not a script to feed
1117 to the Python interpreter.
1119 - Add a Split() function (identical to SCons.Util.argmunge()) for use
1120 in the next release, when Builders will no longer automatically split
1121 strings on white space.
1125 - Add the SConscriptChdir() method.
1129 - Fix --debug=tree when used with directory targets.
1131 - Significant internal restructuring of Scanners and Taskmaster.
1133 - Added new --debug=dtree option.
1135 - Fixes for --profile option.
1137 - Performance improvement in construction variable substitution.
1139 - Implemented caching of content signatures, plus added --max-drift
1140 option to control caching.
1142 - Implemented caching of dependency signatures, enabled by new
1143 --implicit-cache option.
1145 - Added abspath construction variable modifier.
1147 - Added $SOURCE variable as a synonym for $SOURCES[0].
1149 - Write out .sconsign files on error or interrupt so intermediate
1150 build results are saved.
1152 - Change the -U option to -D. Make a new -U that builds just the
1153 targets from the local SConscript file.
1155 - Fixed use of sys.path so Python modules can be imported from
1156 the SConscript directory.
1158 - Fix for using Aliases with the -u, -U and -D options.
1160 - Fix so that Nodes can be passed to SConscript files.
1164 - Changes for official Debian packaging.
1168 RELEASE 0.06 - Thu, 28 Mar 2002 01:24:29 -0600
1172 - Fix command generators to expand construction variables.
1174 - Make FunctionAction arguments be Nodes, not strings.
1176 From Stephen Kennedy:
1178 - Performance: Use a dictionary, not a list, for a Node's parents.
1182 - Add .zip files to the packages we build.
1184 - Man page: document LIBS, fix a typo, document ARGUMENTS.
1186 - Added RANLIB and RANLIBFLAGS construction variables. Only use them
1187 in ARCOM if there's a "ranlib" program on the system.
1189 - Add a configurable CFILESUFFIX for the Builder of .l and .y files
1192 - Add a CXXFile Builder that turns .ll and .yy files into .cc files
1193 (configurable via a CXXFILESUFFIX construction variable).
1195 - Use the POSIX-standard lex -t flag, not the GNU-specific -o flag.
1196 (Bug reported by Russell Christensen.)
1198 - Fixed an exception when CPPPATH or LIBPATH is a null string.
1199 (Bug reported by Richard Kiss.)
1201 - Add a --profile=FILE option to make profiling SCons easier.
1203 - Modify the new DVI builder to create .dvi files from LaTeX (.ltx
1206 - Add support for Aliases (phony targets).
1208 - Add a WhereIs() method for searching for path names to executables.
1210 - Add PDF and PostScript document builders.
1212 - Add support for compiling Fortran programs from a variety of
1213 suffixes (a la GNU Make): .f, .F, .for, .FOR, .fpp and .FPP
1215 - Support a CPPFLAGS variable on all default commands that use the
1220 - Add support for the -U option.
1222 - Allow CPPPATH, LIBPATH and LIBS to be specified as white-space
1225 - Add a document builder to create .dvi files from TeX (.tex) files.
1229 - Fix: Construction variables with values of 0 were incorrectly
1232 - Support env['VAR'] to fetch construction variable values.
1234 - Man page: document Precious().
1238 RELEASE 0.05 - Thu, 21 Feb 2002 16:50:03 -0600
1242 - Set PROGSUFFIX to .exe under Cygwin.
1246 - Allow a library to specified as a command-line source file, not just
1247 in the LIBS construction variable.
1249 - Compensate for a bug in os.path.normpath() that returns '' for './'
1252 - More performance optimizations: cache #include lines from files,
1253 eliminate unnecessary calls.
1255 - If a prefix or suffix contains white space, treat the resulting
1256 concatenation as separate arguments.
1258 - Fix irregularities in the way we fetch DevStudio information from
1259 the Windows registry, and in our registry error handling.
1263 - Flush stdout after print so it intermixes correctly with stderr
1266 - Allow Scanners to return a list of strings, and document how to
1267 write your own Scanners.
1269 - Look up implicit (scanned) dependencies relative to the directory
1270 of file being scanned.
1272 - Make writing .sconsign files more robust by first trying to write
1273 to a temp file that gets renamed.
1275 - Create all of the directories for a list of targets before trying
1276 to build any of the targets.
1278 - WIN32 portability fixes in tests.
1280 - Allow the list of variables exported to an SConscript file to be
1283 - Document the overlooked LIBPATH construction variable.
1284 (Bug reported by Eicke Godehardt.)
1286 - Fix so that Ignore() ignores indirect, implicit dependencies
1287 (included files), not just direct dependencies.
1289 - Put the man page in the Debian distribution.
1291 - Run HTML docs through tidy to clean up the HTML (for Konqueror).
1293 - Add preliminary support for Unicode strings.
1295 - Efficiency: don't scan dependencies more than once during the
1298 - Fix the -c option so it doesn't stop removing targets if one doesn't
1300 (Bug reported by Paul Connell.)
1302 - Fix the --debug=pdb option when run on Windows NT.
1303 (Bug reported by Paul Connell.)
1305 - Add support for the -q option.
1309 - Add support for the -u option.
1311 - Add .cc and .hh file suffixes to the C Scanner.
1315 - Make the scons script return an error code on failures.
1317 - Add support for using code to generate a command to build a target.
1321 RELEASE 0.04 - Wed, 30 Jan 2002 11:09:42 -0600
1325 - Significant performance improvements in the Node.FS and
1328 - Fix signatures of binary files on Win32 systems.
1330 - Allow LIBS and LIBPATH to be strings, not just arrays.
1332 - Print a traceback if a Python-function builder throws an exception.
1336 - Fix using a directory as a Default(), and allow Default() to
1337 support white space in file names for strings in arrays.
1339 - Man page updates: corrected some mistakes, documented various
1340 missing Environment methods, alphabetized the construction
1341 variables and other functions, defined begin and end macros for
1342 the example sections, regularized white space separation, fixed
1343 the use of Export() in the Multiple Variants example.
1345 - Function action fixes: None is now a successful return value.
1346 Exceptions are now reported. Document function actions.
1348 - Add 'Action' and 'Scanner' to the global keywords so SConscript
1349 files can use them too.
1351 - Removed the Wrapper class between Nodes and Walkers.
1353 - Add examples using Library, LIBS, and LIBPATH.
1355 - The C Scanner now always returns a sorted list of dependencies
1356 so order changes don't cause unnecessary rebuilds.
1358 - Strip $(-$) bracketed text from command lines. Use this to
1359 surround $_INCDIRS and $_LIBDIRS so we don't rebuild in response
1360 to changes to -I or -L options.
1362 - Add the Ignore() method to ignore dependencies.
1364 - Provide an error message when a nonexistent target is specified
1365 on the command line.
1367 - Remove targets before building them, and add an Environment
1368 Precious() method to override that.
1370 - Eliminate redundant calls to the same builder when the target is a
1371 list of targets: Add a ListBuilder class that wraps Builders to
1372 handle lists atomically. Extend the Task class to support building
1373 and updating multiple targets in a single Task. Simplify the
1374 interface between Task and Taskmaster.
1376 - Add a --debug=pdb option to re-run SCons under the Python debugger.
1378 - Only compute a build signature once for each node.
1380 - Changes to our sys.path[] manipulation to support installation into
1381 an arbitrary --prefix value.
1385 - Add var=value command-line arguments.
1389 RELEASE 0.03 - Fri, 11 Jan 2002 01:09:30 -0600
1393 - Performance improvements in the Node.FS and Sig.Calculator classes.
1395 - Add the InstallAs() method.
1397 - Execute commands through an external interpreter (sh, cmd.exe, or
1398 command.com) to handle redirection metacharacters.
1400 - Allow the user to supply a command handler.
1404 - Search both /usr/lib and /usr/local/lib for scons directories by
1405 adding them both to sys.path, with whichever is in sys.prefix first.
1407 - Fix interpreting strings of multiple white-space separated file names
1408 as separate file names, allowing prefixes and suffixes to be appended
1409 to each individually.
1411 - Refactor to move CompositeBuilder initialization logic from the
1412 factory wrapper to the __init__() method, and allow a Builder to
1413 have both an action and a src_builder (or array of them).
1415 - Refactor BuilderBase.__call__() to separate Node creation/lookup
1416 from initialization of the Node's builder information.
1418 - Add a CFile Builder object that supports turning lex (.l) and
1419 yacc (.y) files into .c files.
1421 - Document: variable interpretation attributes; how to propogate
1422 the user's environment variables to executed commands; how to
1423 build variants in multiple BuildDirs.
1425 - Collect String, Dict, and List type-checking in common utility
1426 routines so we can accept User{String,Dict,List}s all over.
1428 - Put the Action factory and classes into their own module.
1430 - Use one CPlusPlusAction in the Object Builder's action dictionary,
1431 instead of letting it create multiple identical instances.
1433 - Document the Install() and InstallAs() methods.
1437 - Require that a Builder be given a name argument, supplying a
1438 useful error message when it isn't.
1442 - Add a "duplicate" keyword argument to BuildDir() that can be set
1443 to prevent linking/copying source files into build directories.
1445 - Add a "--debug=tree" option to print an ASCII dependency tree.
1447 - Fetch the location of the Microsoft Visual C++ compiler(s) from
1448 the Registry, instead of hard-coding the location.
1450 - Made Scanner objects take Nodes, not path names.
1452 - Have the C Scanner cache the #include file names instead of
1453 (re-)scanning the file each time it's called.
1455 - Created a separate class for parent "nodes" of file system roots,
1456 eliminating the need for separate is-parent-null checks everywhere.
1458 - Removed defined __hash__() and __cmp() methods from FS.Entry, in
1459 favor of Python's more efficient built-in identity comparisons.
1463 RELEASE 0.02 - Sun, 23 Dec 2001 19:05:09 -0600
1467 - Added the Install(), BuildDir(), and Export() methods.
1469 - Fix the -C option by delaying setting the top of the FS tree.
1471 - Avoid putting the directory path on the libraries in the LIBS
1472 construction variable.
1474 - Added a GetBuildPath() method to return the full path to the
1475 Node for a specified string.
1477 - Fixed variable substitution in CPPPATH and LIBPATH.
1481 - Fixed the version comment in the scons.bat (the UNIX geek used
1484 - Fix to setup.py so it doesn't require a sys.argv[1] argument.
1486 - Provide make-like warning message for "command not found" and
1489 - Added an EXAMPLES section to the man page.
1491 - Make Default() targets properly relative to their SConscript
1492 file's subdirectory.
1496 - Documented CXXFLAGS, CXXCOM, and CPPPATH.
1498 - Fixed SCONS_LIB_DIR to work as documented.
1500 - Made Default() accept Nodes as arguments.
1502 - Changed Export() to make it easier to use.
1504 - Added the Import() and Return() methods.
1508 RELEASE 0.01 - Thu Dec 13 19:25:23 CST 2001
1510 A brief overview of important functionality available in release 0.01:
1512 - C and C++ compilation on POSIX and Windows NT.
1514 - Automatic scanning of C/C++ source files for #include dependencies.
1516 - Support for building libraries; setting construction variables
1517 allows creation of shared libraries.
1519 - Library and C preprocessor search paths.
1521 - File changes detected using MD5 signatures.
1523 - User-definable Builder objects for building files.
1525 - User-definable Scanner objects for scanning for dependencies.
1527 - Parallel build (-j) support.
1529 - Dependency cycles detected.
1531 - Linux packages available in RPM and Debian format.
1533 - Windows installer available.