| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch combines several bits of work - PR #3391 and
the discussion/patch in Issue #3346 to improve the support of
Visual Studio 2019. VS 2019 is now a recognized version,
and the selection of that version specifically should be working.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |\
| | |
| | |
| | | |
fix_slow_md5_decider
|
| | |\ |
|
| | | | |
|
| |/ / |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Also some optimized logic for updating and using the dependency_map built as part of the decider. Fixed tests. Note Deciders now need a fourth argument 'repo_node' which is the repository node for the file if it's to be used. This is currently only used by md5-timestamp decider File.changed_timestamp_then_content()
|
| | |
| | |
| | |
| | | |
Yields some speedup.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
This change integrates changes requested by @bdbaddog to avoid using SCons.Script.Dir
|
| | | |
|
| | | |
|
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| | |
This change improves the Visual Studio solution and project generation code in the following ways:
1. Adds support for Visual Studio 2019 and 2017 project files. In this part, I went a different direction than the existing VS2015 code by doing all of this in the V10 class. I have found this to be the easiest way to continue to add support for new versions of Visual Studio; for example, VS2019 support was a 4-line change after the initial changes.
2. Adds support for consumers to specify C++ include paths and C++ preprocessor definitions to be included in the .vcxproj file. This helps Intellisense function better. (Tests included for this part as well, including one to cover an issue pickling Dir() objects when writing miscellaneous CPPPATH info to the .vcxproj file)
3. Adds <VCProjectUpgraderObjectName> to the project file so we are not prompted to upgrade. This helps the case where a developer has a new version of Visual Studio installed and generates projects for that, while the underlying SCons build uses an older toolset.
4. Excludes .filters files from dspfile processing.
5. Adds a test to cover VS2015 support.
|
| |
| |
| |
| |
| | |
The comment referred to the "old" regular expression that would only
find the last include in each line.
|
|/
|
|
|
|
|
|
| |
"^[^%\n]*" at the beginning of the reg ex would match all but the last
include so that they were lost. There is no point checking for "%" since
comments are stripped anyways, so just remove that part.
Also add test case for multiple includes per line.
|
| |
|
|
|
|
| |
propagate and cause SCons to exit
|
| |
|
|
|
|
| |
false
|
| |
|
| |
|
|\
| |
| | |
Don't hide exceptions when command does not exist
|
| | |
|
|/
|
|
|
|
|
|
| |
Minor: replace an instance of "for i in range(len(foo))" with the now
preferred "for i in foo". This change didn't naturally fit with any of
the other instances of this usage, so is submitted by itself.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
|
| |
|
|
|
|
| |
Also improve exception handling message in test.subdir()
|
| |
|
|\
| |
| | |
Update docs for parse_flags keywords
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The somewhat poorly named parse_flags keyword args actually work like
the MergeFlags method - don't just split like the ParseFlags method,
but do the merging as well. Tweak the docs and add a reference to
env.MergeFlags.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | |
|
|/ |
|
|
|
|
|
|
|
|
|
|
|
| |
Regexes that contained unescaped backslashes and were not listed
in raw string form caused one more test failure when Python 3.8
was experimentally turned on in the Travis CI build.
Also one utility script had the same, not affecting tests - found through
inspection.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
|
|
| |
Needed a doc regen to pick up the change.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Recognize two additional GNU compiler header directory search options:
-iquote and -idirafter. Each takes a following arg, which scons now
recognizes and adds together with the option to CCFLAGS. Note that
(similar to -isystem which was added in git commit f8614aa2), this does
not tell scons anything special, it only recognizes the flag + argument
so it can be passed on to the compiler.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
|
|
|
| |
The routine used in the builder if lxml is being used had
a doubled write command likely to produce unexpected results.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
|
|
|
|
|
| |
One file close ended up in the wrong method, meaning it was closing
a file which needed to stay open for further reading, while another
method of the same name in a different class was missing one.
(this didn't trigger any test fails, hmmm, just visual inspection)
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\
| |
| | |
[WIP] Avoid cachedir races
|
| |
| |
| |
| |
| |
| |
| |
| | |
sider complained about spelling in a comment after I
updated the comment so it got to look at those lines
as part of the change. Fix those.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Simplify the Py2 check for an existing-but-old cachedir
by using any and a generator expression.
Move an import to module scope.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
| |
| |
| | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
1. Add a Py3-only version of the cachedir config read,
using exclusive open to avoid races.
2. In the Py2-only version, add the hack from issue #3351
to dodge one source of races.
Signed-off-by: Mats Wichmann <mats@linux.com>
|