| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
| |
In the SConf chapter, one use was not as a keyword argument,
while the other set a "-DVAR=value" form to append to CPPDEFINES,
which aren't supposed to be given the prefix - that's the whole
reason for CPPDEFINES. Both changed to CCFLAGS, to match
other usage in the chapter.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
With the Travis build switched to install the ldc compiler through
a snap, scons needs to be able to find a binary in /snap/bin too.
On 10.x gdc compilers (part of the GNU Compiler Collection),
the erorr message for an "unrecognized command line option"
changed to "unrecognized command-line option". Wilcarded the
changed character in the expectations of the one test which failed.
Updated docs to indicate /opt/bin is part of env['PATH'] - it
was not included, and added /snap/bin to accomodate this change.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
|
|
|
|
|
| |
Try to be a bit more descriptive about compilation databases.
Two of the User Guide examples now use the scons_examples style
to show a little more what happens.
Fixes #3845.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\ |
|
| |
| |
| |
| | |
The filter is a fnmatch pattern matched against output file.
|
|/
|
|
|
|
| |
The filter is a fnmatch pattern matched against output file.
Also rename target->output in docs to match the output of compilation_db.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move the Repositories chapter to just after the Variantdirs
chapter, since they're the same general topic - controlling
source and destination locations in bulk. Also moved the
internationalization chapter near the end, since it didn't
seem to fit in the logical flow where it was.
No doc contents changed - just order.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
| |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Manpage/shared VariantDir function wording tries to make more
clear that build happens in the variant. Other tweaking.
User guide variant description similarly updated. A (worded) example
of why one might want variants is added.
Formerly separate chapter doc/user/variants.xml is now included
as a section in the previous chapter. An additional example
is enabled (was in the file but commented out), which some
introductiory wording. The introduction to the other sample
in the file is also built up slightly.
Dropped embedded comments that were the old Cons documentation
for these topics.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\
| |
| | |
Include SideEffect section into the UserGuide
|
| |
| |
| |
| | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
| |
| |
| | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
| |
| |
| | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
| |
| |
| |
| |
| |
| | |
Existing written doc, but was not included - now added to the
Miscellaneous chapter. Some rewriting.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
| |
| |
| | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add note to manpage that Variables names should not conflict with
existing constructions variables.
Fix a broken User Guide example which was hitting a Py2/Py3
transition - was displaying "Unknown variables: dict_keys(['NOT_KNOWN'])"
instead of "Unknown variables: NOT_KNOWN"
Added a User Guide note on how to make sure a Variable is actually
supplied, if that's what you want (making the default an invalid value).
This is supported by an additional output of an existing example
(it's not a new example, just called a different way).
Slightly built up the explanation of UnknownVariables not being
usable until variables object has been passed to an env.
Examples reformatted using Black, which changed some line numbers
in example outputs.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | |
|
|/
|
| |
I guess, double that is typo
|
|\
| |
| | |
Updated docs on Actions for output control
|
| |
| |
| |
| | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
| |
| |
| | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Manpage now mentions specifically generating your own Action object
in order to control the output string. Calls out using None as the
command-output specifier to avoid output: Action(foo, None) and
Action(foo, cmdstr=None), as well
Userguide got a mention of using the action kwarg for readability
and an example showing creating the Action for Command manually
to set the output string.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|/
|
|
|
|
|
|
| |
Troubleshooting section had a remaining link to tigris.org.
Now points to scons website - not to github, because we don't
encourage directly filing a bug before first discussing.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
| |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
| |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\
| |
| | |
[WIP] Enforcing HTML output encoding to UTF-8.
|
| |
| |
| |
| |
| |
| |
| |
| | |
The stylesheet for the single HTML outputs (not chunked) get adapted,
such that UTF-8 is always used as output encoding for all chunks.
In addition, the HTML header now contains a corresponding
"content" tag, displaying the used charset=UTF-8.
[skip ci]
|
| |
| |
| |
| | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
| |
| |
| | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
| |
| |
| | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Simplified the guide wording on source/target kwargs to
get rid of an ambifuity.
Some tweaking of the manpage on overrides and parse_args.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
| |
| |
| | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Review comments noted that there was perhaps more assumptions
about Python knowledge than warranted, added some things to
address that, including an intro to dictionaries.
Markup changes in environment chapter, plus more wording tweaks.
Filled out an example of of overriding when calling a builder,
and added a note on when that is not sufficient, and separate
envs are needed.
Dropped a python2 paragraph.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|/
|
|
|
|
|
|
| |
Adds a new uguide Ch 7 section on using the parse_flags method (with Ex.)
Moves the section on overrides in calls to Builders to Chap 7 -
it was using concepts not introduced yet where it was placed.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
|
|
|
|
| |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
|
|
| |
Initial content is the compilation_db material
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Recent changes introduced the use of the Docbook 5 syntax for external
links (<link xlink:href="https://www.example.com"/>), which works okay
for the doc build, but breaks the internal tools which do formal validation
against the scons-modified docbook DTD ("sconsdoc") because sconsdoc is
a modification of Docbook 4.5 thus pinning us to that version.
xlink was a Docbook 5 introduction to use more standard W3C syntax
for the links (xlink is a W3C spec of its own).
Back off this new usage: go back to the old usage pattern
(<ulink url="https://www.example.com">), because trying to uplift
sconsdoc looks a fairly substantial task.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Switch API docs to readthedocs theme
* Add links in manpage SEE ALSO to external websites. These are not just
live, but also listed out (Linux manpages won't have the hyperlinks)
* Links use docbook5 xlink:href instead of deprecated (claimed to be
removed, but apparently not) ulink syntax
* Comment out manpage Examples section, and leave a pointer to
scons-cookbook.readthedocs.io instead
* Regenerate everything, mainly to pick up compilation_db stuff.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\
| |
| | |
Add compilation db for use by clang tools and cquery (fix issue #3355)
|
| | |
|
| |
| |
| |
| | |
clear source and set default target as 'compile_commands.json'.
|
| | |
|
| |
| |
| |
| | |
database
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
&f-GetOption; was not properly camelcased in recent commit.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | |
|
| |
| |
| |
| | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|