diff options
author | Mats Wichmann <mats@linux.com> | 2023-02-09 12:30:42 -0700 |
---|---|---|
committer | Mats Wichmann <mats@linux.com> | 2023-02-09 12:41:07 -0700 |
commit | b3e6192cfe79c3e4e162ed64a15ba200883f616f (patch) | |
tree | 9c98ac80d76a198b367bcbc75685b7b8f6a20dca /CHANGES.txt | |
parent | 12d4966b67182a282e3911ad9b0e1dbe8f6a52d7 (diff) | |
download | scons-git-b3e6192cfe79c3e4e162ed64a15ba200883f616f.tar.gz |
Adjusted CPPDEFINES behavior for list and tuple
After the previous proposals, addition of a bare tuple is restored
to the valued-macro behavior (this previously did not work
consistently). Strings are now consistently split if they contain
spaces, except if entered as a list member, in which case (as
documented) they are left alone. tuples with nore than two members
are now flagged as a UserError; previously the first two members were
taken as name=value and any further members were silently ignored.
More tests added.
Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'CHANGES.txt')
-rw-r--r-- | CHANGES.txt | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index 41a966b5c..e10feab6f 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -134,16 +134,18 @@ RELEASE VERSION/DATE TO BE FILLED IN LATER or not if it is already in the $LIBS construction var in the configure context. (issue #2768). - Special-case handling for CPPDEFINES in the Append/Prepend routines - split out into its own function to simplify the remaining code and + is split out into its own function to simplify the remaining code and fix problems. The e2e test test/CPPDEFINES/append.py is expanded - to cover missed cases, and AppendUnique no longer mismatches with - what Append does (#3876). Inconsistent handling of tuples to specify - macro=value outputs is also cleaned up (#4254). The special handling - now also works for Prepend/PrependUnique, and a corresponding test - test/CPPDEFINES/prepend.py was added to verify the behavior. - SCons used to sort keys set or appended via a dict type, in order to - assure order of commandline flags did not change across runs. This - behavior has been dropped since Python now assures consistent dict order. + to cover missed cases, and AppendUnique no longer mismatches + with what Append does (#3876). Inconsistent handling of tuples + to specify macro=value outputs is also cleaned up (#4254). The + special handling now also works for Prepend/PrependUnique, and a + corresponding e2e test test/CPPDEFINES/prepend.py was added to verify + the behavior. A unit test for SCons.Util.processDefines, used to + convert CPPDEFINES into a list of strings, is added. SCons used + to sort keys set or appended via a dict type, in order to assure + order of commandline flags did not change across runs. This behavior + has been dropped since Python now assures consistent dict order. RELEASE 4.4.0 - Sat, 30 Jul 2022 14:08:29 -0700 |