| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add an example on adding an emitter to an existing builder,
based on a mailing-list discussion with Jeremy Elson.
Also:
* Try to model "best practice" by changing instances of hand-modifying
env['ENV']['PATH'] in examples to using AppendENVPath function.
* Fixed a couple of Py2-style print statements.
* Tweaked markup on a couple of instances of site_scons.
* Black-formatted examples in the two userguide sections that
were otherwise modified.
* Dropped old cons doc content which was included as a big
comment at the fromt of builders-writing.xml.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Use os.environ.copy() in examples - better not to get the
Python proxy class that is os.environ, and instead a real dict.
* Fix spelling on a python dict method: set_default -> setdefault
* Update some wording on prepending in the user guide (where it
still said "append to the beginning")
* Change the rather oblique note in the recently modified section
on Append of values to CPPDEFINES with something more explicit.
* And, modify the sphinx config to get the version from SCons
rather than hardcoding.
Fixes #3867
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
| |
target to include the sphinx config files
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| | |
UGuide: fix two erroneous uses of Append
I'll fix up a couple items post merge.
|
| |
| |
| |
| |
| |
| |
| |
| | |
After discussion, it seemed like we should set a proper example,
so the Append and Prepend examples that used *FLAGS to set
a -Dstring value now use CPPDEFINES (without the -D).
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|\ \
| | |
| | | |
Build up manpage information on sconscript files.
|
| | |
| | |
| | |
| | | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Tweaked introductory section with a few more details.
Added a new subsection to begin the Confguration File Reference
section, called Configuration Files, mainly as a better home
for the information on alternate SConstruct names, which seemed
a distraction at the top of the file, as well as to introduce the
concept that sconscript files are independent of each other,
which does not appear to be explicitly stated (although you
could gather the information by reading some Function entries).
Also provides quick links to other Config File subsections -
manpage is hard to navigate as it's so long.
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>
|
|\ \
| | |
| | | |
Adjust CompilationDatase documentation
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
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 section mentioned only the .F suffix, added mention of
the other variants and a brief note on what the difference means.
Added some markup in the individual Fortran tools
Doc-only change.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
|
|
|
| |
Checked in the SCons/__init__.py instead of the changes to the
sconsign manpage. Restoring the former and updating the latter.
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.
|
|
|
|
| |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
| |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\
| |
| | |
Tweaks to variantdir documentation
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| | |
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>
|
|\
| |
| | |
man: expand explanations on selecting Tool modules
|
| |
| |
| |
| |
| |
| | |
skip]
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
| |
| |
| | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|/
|
|
| |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
| |
Signed-off-by: Mats Wichmann <mats@linux.com>
|