Menu

SCons 0.94 adds new command-line features, fixes key bugs

SCons release 0.94, the fifth SCons beta release, is now available for download. SCons is a software construction tool (build tool, or substitute for Make) implemented in Python, based on the winning design in the Software Carpentry build tool competition (in turn based on the Cons build tool). This release most notably fixes several critical bugs found in the 0.93 release, and adds new functionality for dealing with command-line arguments.

This release adds the following features:
- A new AddOptions() method makes it easier to add multiple command-line option specifications in a single call.
- New BoolOption(), EnumOption(), ListOption(), PackageOption() and PathOption() functions provide canned initialization for several useful types of common option behavior.
- New BUILD_TARGETS, COMMAND_LINE_TARGETS and DEFAULT_TARGETS variables provide access to the lists of targets specified on the command line or through calls to the Default() function or method.

The following fixes have been added:
- The use of CPPDEFINES with C++ source files has been fixed.
- The env.Append() method now works properly when the operand ss an object with a cmp() method (like a Scanner instance).
- Subclassing the Environment and Scanner classes has been fixed.
- C++ compilation with the SGI compiler has been fixed.
- C and C++ compilation with AIX compiler has been fixed.

The documentation has been improved:
- The man page un-indented correctly after examples in some browsers; this has been fixed.
- Use of the Options() object to control command-line options has been documented in the User's Guide.
- New features have been documented in the man page and User's Guide.

Posted by Steven Knight 2003-11-07

Log in to post a comment.