| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
Sphinx is now complaining about not defining a language being illegal.
Defined to 'en'.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\
| |
| | |
Dedent some examples in userguide
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The compilation DB examples in the User Guide are indented with
the rest of the text (possibly auto-formatting by an editor),
while the scons_example and programlisting XML elements respect
formatting, so they should actually be dedented.
Example code which is not to be displayed (just used to drive
the example generation) don't matter so they were left alone this time.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\ \
| |/
|/| |
MSVC enhancement to add all remaining msvc batch file command-line options as SCons variables
|
| |
| |
| |
| | |
found policy and msvc script error policy to Policy.py. Rework vcvars bugfix handling for SxS toolset 14.28. Add method to return msvc toolsets. Add experimental function to return msvc version and msvc toolset version given a version specification (proxy for selection). Add API.py to manage symbols imported in vc.py. Update documentation.
|
| |
| |
| |
| | |
documentation. Add additional exceptions for SDK version not found, toolset version not found, and spectre libraries not found. Add data structure for platform type.
|
| |
| |
| |
| | |
MSVC_TOOLSET_VERSION documentation.
|
| |
| |
| |
| | |
documentation artifacts.
|
| |\ |
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
Improvements to lex and yacc tools
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The mocked tools mylex.py and myyacc.py now understand the file-generation
options, and generate a dummy file with predictable contents, for
checking. This allows more testing of the path through the SCons support
for these two without needing live commands.
New tests added which invoke the file-generation options, and make
sure the extra files are created, and that SCons detects and tracks
the added targets. Work is done in a subdirectory, which exposes some
existing known inconsistent behavior (the regular generated file goes
in the subdir per the LEXCOM and YACCOM generated line, while the ones
generated from commandline options go in the topdir) - but we're going
to allow that behavior to continue for backwards compat.
Same fix applied to yacc tool that PR #4168 did for lex - do subst_list()
instead of subst() to preserve spaces in paths. That fix left the lex
tool unable to pass the new test, as it could not see the individual
arguments in the FLAGS variable, which was solved by indexing into the
subst'd list so we can iterate over the args again.
Test and tool cleanup; add DefaultEnvironment calls, etc.
Note this mentions, but does not address the problem described in issue 4154.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|/ /
| |
| |
| |
| |
| | |
Reworded a bit.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\ \
| | |
| | | |
doc: tweaked Builder intro section in manpage
|
| | | |
|
| | |
| | |
| | |
| | | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
Mostly wording changes, some rearranging/grouping.
Makes sure the three documented recognized kwargs are listed together,
followed by the statement that unrecognized kwargs are consvar overrides.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
| |
| |
| | |
removed extraneous '(see)'
|
|/
|
|
|
|
|
|
| |
Tweak the wording of Execute, PRINT_CMD_LINE_FUNC (whose
excample did not match what the wording said it did) and the
Action Objects section.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add to the existing manpage section on Fortran system-specific behavior
notes that SCons provides construction environment sets for six "dialects",
so that each can be individually tuned based on the file suffix.
The PR author considers this system to be of dubious utlity - it only has
any real effect in a project with files of many different suffixes where
each suffix indicates different handling, within a single build. Since
such builds might theoretically exist (there must have been some reason
this setup was designed), just try to document what there is.
Related in a proximate way only (i.e. next item in manpage),
the note on cygwin+Python is amended to also mention msys2.
Fixes #4173
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
| |
need to regenerate the build.ninja
|
|\ |
|
| |\
| | |
| | | |
Tweak the swig tool documentation
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Minor changes: the spelled-out name of the tool as used in SCons docs
was not the same as the manpage uses, and it was repeated a bunch of
times spelled out for no good reason. Just turned it all into uses of
&swig; entity.
A bit of tweaking of some of the entries. SWIGCXXFILESUFFIX had a
copy-paste error, it referred to CFILESUFFIX instead of CXXFILESUFFIX.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |/
| |
| |
| | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|/ |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Docstrings Environment (inc. .backtick) also lightly updated.
Functional change: the function to be called by ParseConfig
is now passed the *unique* flag, previously omitted (if the
default MergeFlags was used, it still picked up this flag but
a user-supplied function did not). Added a unit test for
user-supplied function.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
| |
| |
| |
| |
| | |
Spotted by @night-ripper on Discord
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |\
| | |
| | | |
Add a bit more info to tool "generate" function doc
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Seemed useful to actually record the suggestion that tool modules should
not unconditionally set the values of all contstruction variables -
some could be considered user-settable and if so, existing values
should be respected.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\ \ \
| |/ / |
|
| |/
| |
| |
| | |
code to have same return values as rest of checkers, updated test to work with that.
|
| |\
| | |
| | | |
Guide: update Writing Builders chapter
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Use entities more consistently. Reword a few things.
Text implied that site_init.py needs to be manually imported,
adjusted wording not to say so.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The idea is to get the syntactial elements presented in a relatively
concise order, in the existing text you have to hunt quite a bit
for certain parts. Some portions reworded.
The mention of $$ as a sbust escape (PR 4091) is also added to
the env.subst entry.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
An extra stanza was added "or other text" that didn't
really make sense in context, remove it again.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Some rewordings elsewhere in Variable Substitution section -
mainly to a variable that's a function.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Now performs a sanity check: if the retrieved tools path does not exist,
consider the entry invalid so it will be recomputed.
- The dictionary key, which is the name of a batch file, is computed
a bit differently: the dashes are left off if there are no arguments.
- The cachefile is changed to have a .json suffix, for better recognition
on Windows systems.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Use entities. Adopt the "derived-file cache" terminology used
elsewhere instead of the former wording "shared cache".
Also added entity references for content/build sigs to manpage,
as well as some other entity fiddling.
CacheDir entry now mentions SCons doesn't do cache maintenance.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\ \
| | |
| | | |
Updates to User Guide: 6/Dependencies
|
| | |
| | |
| | |
| | | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Removed most references to md5 and tried to make the terminology
used a bit more consistent.
Added some markup - refernced functions now hyperlinked on
first mention of each section.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
Rewrite of the intro in the user guide.
Otherwise, just markup, formatting, wording tweaks,
bigger example of how to install ninja.
Signed-off-by: Mats Wichmann <mats@linux.com>
|