SCons Changelog

New in version 1.2.0

December 21st, 2008
  • -- THE $CHANGED_SOURCES, $CHANGED_TARGETS, $UNCHANGED_SOURCES
  • AND $UNCHANGED_TARGETS VARIABLES WILL BECOME RESERVED
  • A future release (probably 1.3.0) will make the construction
  • variable names $CHANGED_SOURCES, $CHANGED_TARGETS,
  • $UNCHANGED_SOURCES and $UNCHANGED_TARGETS into reserved
  • construction variable names controlled by SCons itself (like
  • the current $SOURCE, $TARGETS, etc.).
  • Setting these variable names in the current release will generate
  • a warning but still set the variables. When they become reserved
  • variable names, they will generate a different warning message
  • and attempts to set these variables will be ignored.
  • SCons configurations that happen to use these variable names
  • should be changed to use different variable names, in order
  • to ensure that the configuration continues to work with future
  • versions of SCons.
  • -- THE Options OBJECT AND RELATED FUNCTIONS NOW GENERATE WARNINGS
  • Use of the Options object, and related functions BoolOption(),
  • EnumOption(), ListOption(), PackageOption() and PathOption()
  • were announced as deprecated in release 0.98.1. Since then,
  • however, no warning messages were ever implemented for the
  • use of these deprecated functions.
  • By default, release 1.2.0 prints warning messages when these
  • deprecated features are used. Warnings about all deprecated
  • features may be suppressed by using the --warn=no-deprecated
  • command-line option:
  • $ scons --warn=no-deprecated
  • Or by using the appropriate SetOption() call in any SConscript
  • file:
  • SetOption('warn', 'no-deprecated')
  • You may optionally disable just warnings about the deprecation
  • of the Options object and its related functions as follows:
  • SetOption('warn', 'no-deprecated-options')
  • The current plan is for these warnings to become mandatory
  • (non-suppressible) in release 1.3.0, and for the use of Options
  • and its related functions to generate errors in release 2.0.