diff options
author | Mats Wichmann <mats@linux.com> | 2020-07-21 15:07:58 (GMT) |
---|---|---|
committer | Mats Wichmann <mats@linux.com> | 2020-07-22 18:25:43 (GMT) |
commit | e2531c48893b00c776fd83b1ae8a74e9593854db (patch) | |
tree | 5ba023bf263cad807b4bc6ec59f002ab23249048 /doc/generated/examples | |
parent | 261a39beb80b064793009f4ec9a5b367fb5b93bb (diff) | |
download | SCons-e2531c48893b00c776fd83b1ae8a74e9593854db.zip SCons-e2531c48893b00c776fd83b1ae8a74e9593854db.tar.gz SCons-e2531c48893b00c776fd83b1ae8a74e9593854db.tar.bz2 |
Update docs on argument passing to Environment, etc.
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>
Diffstat (limited to 'doc/generated/examples')
-rw-r--r-- | doc/generated/examples/environments_ex6_1.xml | 1 | ||||
-rw-r--r-- | doc/generated/examples/parse_flags_ex1_1.xml | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/doc/generated/examples/environments_ex6_1.xml b/doc/generated/examples/environments_ex6_1.xml index 03a5e7c..70fbb03 100644 --- a/doc/generated/examples/environments_ex6_1.xml +++ b/doc/generated/examples/environments_ex6_1.xml @@ -1,4 +1,5 @@ <screen xmlns="http://www.scons.org/dbxsd/v1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.scons.org/dbxsd/v1.0 http://www.scons.org/dbxsd/v1.0/scons.xsd">% <userinput>scons -Q</userinput> CC is: cc +LATEX is: None scons: `.' is up to date. </screen> diff --git a/doc/generated/examples/parse_flags_ex1_1.xml b/doc/generated/examples/parse_flags_ex1_1.xml new file mode 100644 index 0000000..1cead7d --- /dev/null +++ b/doc/generated/examples/parse_flags_ex1_1.xml @@ -0,0 +1,7 @@ +<screen xmlns="http://www.scons.org/dbxsd/v1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.scons.org/dbxsd/v1.0 http://www.scons.org/dbxsd/v1.0/scons.xsd">% <userinput>scons -Q</userinput> +CPPPATH: ['/opt/include'] +LIBPATH: ['/opt/lib'] +LIBS: ['foo'] +cc -o f1.o -c -I/opt/include f1.c +cc -o f1 f1.o -L/opt/lib -lfoo +</screen> |