diff options
Diffstat (limited to 'doc/generated')
| -rw-r--r-- | doc/generated/builders.gen | 38 | ||||
| -rw-r--r-- | doc/generated/examples/caching_ex-random_1.xml | 2 | ||||
| -rw-r--r-- | doc/generated/examples/troubleshoot_explain1_3.xml | 2 | ||||
| -rw-r--r-- | doc/generated/functions.gen | 34 | ||||
| -rw-r--r-- | doc/generated/variables.gen | 11 | ||||
| -rw-r--r-- | doc/generated/variables.mod | 2 | 
6 files changed, 75 insertions, 14 deletions
diff --git a/doc/generated/builders.gen b/doc/generated/builders.gen index dc05443..7c62558 100644 --- a/doc/generated/builders.gen +++ b/doc/generated/builders.gen @@ -849,14 +849,16 @@ Compile files for languages defined in <filename>LINGUAS</filename> file          latest installed version, or the version specified by          <link xmlns="http://www.scons.org/dbxsd/v1.0" linkend="cv-MSVS_VERSION"><envar>$MSVS_VERSION</envar></link> in the Environment constructor). For          Visual Studio 6, it will generate a <filename>.dsp</filename> -        file. For Visual Studio 7 (.NET) and later versions, it will -        generate a <filename>.vcproj</filename> file. +        file. For Visual Studio 7, 8, and 9, it will +        generate a <filename>.vcproj</filename> file.  For Visual +        Studio 10 and later, it will generate a +        <filename>.vcxproj</filename> file.        </para>        <para xmlns="http://www.scons.org/dbxsd/v1.0">          By default, this also generates a solution file for the          specified project, a <filename>.dsw</filename> file for          Visual Studio 6 or a <filename>.sln</filename> file for -        Visual Studio 7 (.NET). This behavior may be disabled by +        Visual Studio 7 and later. This behavior may be disabled by          specifying <literal>auto_build_solution=0</literal> when you          call <function xmlns="http://www.scons.org/dbxsd/v1.0">MSVSProject</function>, in which case you presumably want to          build the solution file(s) by calling the <function xmlns="http://www.scons.org/dbxsd/v1.0">MSVSSolution</function> @@ -929,6 +931,36 @@ Compile files for languages defined in <filename>LINGUAS</filename> file            </listitem>          </varlistentry>          <varlistentry> +          <term>cppdefines</term> +          <listitem> +            <para> +              Preprocessor definitions for the different variants. +              The number of <literal>cppdefines</literal> entries +              must match the number of <literal>variant</literal> +              entries, or be empty (not specified). If you give +              only one, it will automatically be propagated to all +              variants. If you don't give this parameter, SCons +              will use the invoking environment's +              <literal>CPPDEFINES</literal> entry for all variants. +            </para> +          </listitem> +        </varlistentry> +        <varlistentry> +          <term>cpppaths</term> +          <listitem> +            <para> +              Compiler include paths for the different variants. +              The number of <literal>cpppaths</literal> entries +              must match the number of <literal>variant</literal> +              entries, or be empty (not specified). If you give +              only one, it will automatically be propagated to all +              variants. If you don't give this parameter, SCons +              will use the invoking environment's +              <literal>CPPPATH</literal> entry for all variants. +            </para> +          </listitem> +        </varlistentry> +        <varlistentry>            <term>buildtarget</term>            <listitem>              <para> diff --git a/doc/generated/examples/caching_ex-random_1.xml b/doc/generated/examples/caching_ex-random_1.xml index 0a432e9..58ff6ae 100644 --- a/doc/generated/examples/caching_ex-random_1.xml +++ b/doc/generated/examples/caching_ex-random_1.xml @@ -1,8 +1,8 @@  <?xml version="1.0" encoding="UTF-8"?>  <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 -o f5.o -c f5.c  cc -o f3.o -c f3.c  cc -o f2.o -c f2.c +cc -o f5.o -c f5.c  cc -o f1.o -c f1.c  cc -o f4.o -c f4.c  cc -o prog f1.o f2.o f3.o f4.o f5.o diff --git a/doc/generated/examples/troubleshoot_explain1_3.xml b/doc/generated/examples/troubleshoot_explain1_3.xml index ebc13f8..04b09fd 100644 --- a/doc/generated/examples/troubleshoot_explain1_3.xml +++ b/doc/generated/examples/troubleshoot_explain1_3.xml @@ -3,5 +3,5 @@  cp file.in file.oout  scons: warning: Cannot find target file.out after building -File "/home/bdeegan/devel/scons/git/as_scons/src/script/scons.py", line 204, in <module> +File "/home/bdeegan/devel/scons/git/as_scons/bootstrap/src/script/scons.py", line 204, in <module>  </screen> diff --git a/doc/generated/functions.gen b/doc/generated/functions.gen index 9fc9d4b..5e8bebb 100644 --- a/doc/generated/functions.gen +++ b/doc/generated/functions.gen @@ -480,7 +480,7 @@ string, in which case a list will be returned instead of a string.  </para>  <para xmlns="http://www.scons.org/dbxsd/v1.0"> -If  +If  <varname>delete_existing</varname>  is 0, then adding a path that already exists  will not move it to the end; it will stay where it is in the list. @@ -518,7 +518,7 @@ then any value(s) that already exist in the  construction variable will  <emphasis>not</emphasis>  be added again to the list. -However, if delete_existing is 1,  +However, if delete_existing is 1,  existing matching values are removed first, so  existing values in the arg list move to the end of the list.  </para> @@ -820,12 +820,14 @@ env4 = env.Clone(tools = ['msvc', MyTool])  <para xmlns="http://www.scons.org/dbxsd/v1.0">  The  <varname>parse_flags</varname> -keyword argument is also recognized: +keyword argument is also recognized to allow merging command-line +style arguments into the appropriate construction +variables (see <link xmlns="http://www.scons.org/dbxsd/v1.0" linkend="f-MergeFlags"><function>env.MergeFlags</function></link>).  </para>  <example_commands xmlns="http://www.scons.org/dbxsd/v1.0">  # create an environment for compiling programs that use wxWidgets -wx_env = env.Clone(parse_flags = '!wx-config --cflags --cxxflags') +wx_env = env.Clone(parse_flags='!wx-config --cflags --cxxflags')  </example_commands>  </listitem>    </varlistentry> @@ -1137,6 +1139,17 @@ size, or content signature.  </para>  </listitem>  </varlistentry> +    <varlistentry> +<term><parameter>repo_node</parameter></term> +<listitem> +<para> +Use this node instead of the one specified by +<varname>dependency</varname> +    to determine if the dependency has changed. +</para> +</listitem> +</varlistentry> +  </variablelist>  </para> @@ -1173,7 +1186,7 @@ Example:  </para>  <example_commands xmlns="http://www.scons.org/dbxsd/v1.0"> -def my_decider(dependency, target, prev_ni): +def my_decider(dependency, target, prev_ni, repo_node=None):      return not os.path.exists(str(target))  env.Decider(my_decider) @@ -2531,9 +2544,9 @@ as the dependency.  </para>  <para xmlns="http://www.scons.org/dbxsd/v1.0"> -Note that this will only remove the dependencies listed from  -the files built by default.  It will still be built if that  -dependency is needed by another object being built.  +Note that this will only remove the dependencies listed from +the files built by default.  It will still be built if that +dependency is needed by another object being built.  See the third and forth examples below.  </para> @@ -2941,6 +2954,9 @@ and added to the following construction variables:  -frameworkdir=      FRAMEWORKPATH  -include            CCFLAGS  -isysroot           CCFLAGS, LINKFLAGS +-isystem            CCFLAGS +-iquote             CCFLAGS +-idirafter          CCFLAGS  -I                  CPPPATH  -l                  LIBS  -L                  LIBPATH @@ -3151,7 +3167,7 @@ then any value(s) that already exist in the  construction variable will  <emphasis>not</emphasis>  be added again to the list. -However, if delete_existing is 1,  +However, if delete_existing is 1,  existing matching values are removed first, so  existing values in the arg list move to the front of the list.  </para> diff --git a/doc/generated/variables.gen b/doc/generated/variables.gen index c7048b4..28dfc59 100644 --- a/doc/generated/variables.gen +++ b/doc/generated/variables.gen @@ -4495,6 +4495,7 @@ constructor; setting it later has no effect.  <para xmlns="http://www.scons.org/dbxsd/v1.0">  Valid values for Windows are +<literal>14.2</literal>,  <literal>14.1</literal>,  <literal>14.0</literal>,  <literal>14.0Exp</literal>, @@ -7343,6 +7344,16 @@ The suffix used for tar file names.  </para>  </listitem>    </varlistentry> +  <varlistentry id="cv-TEMPFILEARGJOIN"> +    <term>TEMPFILEARGJOIN</term> +    <listitem> +<para xmlns="http://www.scons.org/dbxsd/v1.0"> +The string (or character) to be used to join the arguments passed to TEMPFILE when command line exceeds the limit set by <envar xmlns="http://www.scons.org/dbxsd/v1.0">$MAXLINELENGTH</envar>. +The default value is a space. However for MSVC, MSLINK the default is a line seperator characters as defined by os.linesep. +Note this value is used literally and not expanded by the subst logic. +</para> +</listitem> +  </varlistentry>    <varlistentry id="cv-TEMPFILEPREFIX">      <term>TEMPFILEPREFIX</term>      <listitem> diff --git a/doc/generated/variables.mod b/doc/generated/variables.mod index 28c08dc..47576f4 100644 --- a/doc/generated/variables.mod +++ b/doc/generated/variables.mod @@ -544,6 +544,7 @@ THIS IS AN AUTOMATICALLY-GENERATED FILE.  DO NOT EDIT.  <!ENTITY cv-TARGET_OS "<envar xmlns='http://www.scons.org/dbxsd/v1.0'>$TARGET_OS</envar>">  <!ENTITY cv-TARGETS "<envar xmlns='http://www.scons.org/dbxsd/v1.0'>$TARGETS</envar>">  <!ENTITY cv-TARSUFFIX "<envar xmlns='http://www.scons.org/dbxsd/v1.0'>$TARSUFFIX</envar>"> +<!ENTITY cv-TEMPFILEARGJOIN "<envar xmlns='http://www.scons.org/dbxsd/v1.0'>$TEMPFILEARGJOIN</envar>">  <!ENTITY cv-TEMPFILEPREFIX "<envar xmlns='http://www.scons.org/dbxsd/v1.0'>$TEMPFILEPREFIX</envar>">  <!ENTITY cv-TEMPFILESUFFIX "<envar xmlns='http://www.scons.org/dbxsd/v1.0'>$TEMPFILESUFFIX</envar>">  <!ENTITY cv-TEX "<envar xmlns='http://www.scons.org/dbxsd/v1.0'>$TEX</envar>"> @@ -1183,6 +1184,7 @@ THIS IS AN AUTOMATICALLY-GENERATED FILE.  DO NOT EDIT.  <!ENTITY cv-link-TARGET_OS "<link linkend='cv-TARGET_OS' xmlns='http://www.scons.org/dbxsd/v1.0'><envar>$TARGET_OS</envar></link>">  <!ENTITY cv-link-TARGETS "<link linkend='cv-TARGETS' xmlns='http://www.scons.org/dbxsd/v1.0'><envar>$TARGETS</envar></link>">  <!ENTITY cv-link-TARSUFFIX "<link linkend='cv-TARSUFFIX' xmlns='http://www.scons.org/dbxsd/v1.0'><envar>$TARSUFFIX</envar></link>"> +<!ENTITY cv-link-TEMPFILEARGJOIN "<link linkend='cv-TEMPFILEARGJOIN' xmlns='http://www.scons.org/dbxsd/v1.0'><envar>$TEMPFILEARGJOIN</envar></link>">  <!ENTITY cv-link-TEMPFILEPREFIX "<link linkend='cv-TEMPFILEPREFIX' xmlns='http://www.scons.org/dbxsd/v1.0'><envar>$TEMPFILEPREFIX</envar></link>">  <!ENTITY cv-link-TEMPFILESUFFIX "<link linkend='cv-TEMPFILESUFFIX' xmlns='http://www.scons.org/dbxsd/v1.0'><envar>$TEMPFILESUFFIX</envar></link>">  <!ENTITY cv-link-TEX "<link linkend='cv-TEX' xmlns='http://www.scons.org/dbxsd/v1.0'><envar>$TEX</envar></link>">  | 
