From 140d836e9cd54fb67b969fd82ef7ed19ba574d40 Mon Sep 17 00:00:00 2001 From: Luca Falavigna Date: Sat, 26 Apr 2014 15:11:58 +0200 Subject: Imported Upstream version 2.3.1 --- src/engine/SCons/Tool/swig.xml | 93 +++++++++++++++++++++++++++++++++--------- 1 file changed, 74 insertions(+), 19 deletions(-) (limited to 'src/engine/SCons/Tool/swig.xml') diff --git a/src/engine/SCons/Tool/swig.xml b/src/engine/SCons/Tool/swig.xml index 0e1e487..d94d67f 100644 --- a/src/engine/SCons/Tool/swig.xml +++ b/src/engine/SCons/Tool/swig.xml @@ -1,39 +1,63 @@ + + + +%scons; + +%builders-mod; + +%functions-mod; + +%tools-mod; + +%variables-mod; +]> + + + + Sets construction variables for the SWIG interface generator. + -SWIG -SWIGFLAGS -SWIGDIRECTORSUFFIX -SWIGCFILESUFFIX -SWIGCXXFILESUFFIX -_SWIGINCFLAGS -SWIGINCPREFIX -SWIGINCSUFFIX -SWIGCOM -SWIGPATH -SWIGVERSION +SWIG +SWIGFLAGS +SWIGDIRECTORSUFFIX +SWIGCFILESUFFIX +SWIGCXXFILESUFFIX +_SWIGINCFLAGS +SWIGINCPREFIX +SWIGINCSUFFIX +SWIGCOM +SWIGPATH +SWIGVERSION -SWIGCOMSTR +SWIGCOMSTR + The scripting language wrapper and interface generator. + + The suffix that will be used for intermediate C source files generated by the scripting language wrapper and interface generator. @@ -46,37 +70,45 @@ option is specified as part of the &cv-link-SWIGFLAGS; construction variable. + + The suffix that will be used for intermediate C++ header files generated by the scripting language wrapper and interface generator. These are only generated for C++ code when the SWIG 'directors' feature is turned on. The default value is _wrap.h. + + The command line used to call the scripting language wrapper and interface generator. + + The string displayed when calling the scripting language wrapper and interface generator. If this is not set, then &cv-link-SWIGCOM; (the command line) is displayed. + + The suffix that will be used for intermediate C++ source files generated by the scripting language wrapper and interface generator. @@ -87,11 +119,13 @@ By default, this value is used whenever the option is specified as part of the &cv-link-SWIGFLAGS; construction variable. + + General options passed to the scripting language wrapper and interface generator. This is where you should set @@ -108,11 +142,13 @@ generate a C++ intermediate source file with the extension that is specified as the &cv-link-CXXFILESUFFIX; variable. + + An automatically-generated construction variable containing the SWIG command-line options for specifying directories to be searched for included files. @@ -120,29 +156,35 @@ The value of &cv-_SWIGINCFLAGS; is created by appending &cv-SWIGINCPREFIX; and &cv-SWIGINCSUFFIX; to the beginning and end of each directory in &cv-SWIGPATH;. + + The prefix used to specify an include directory on the SWIG command line. This will be appended to the beginning of each directory in the &cv-SWIGPATH; construction variable when the &cv-_SWIGINCFLAGS; variable is automatically generated. + + The suffix used to specify an include directory on the SWIG command line. This will be appended to the end of each directory in the &cv-SWIGPATH; construction variable when the &cv-_SWIGINCFLAGS; variable is automatically generated. + + Specifies the output directory in which the scripting language wrapper and interface generator should place generated language-specific files. @@ -150,18 +192,22 @@ This will be used by SCons to identify the files that will be generated by the &swig; call, and translated into the swig -outdir option on the command line. + + The list of directories that the scripting language wrapper and interface generate will search for included files. The SWIG implicit dependency scanner will search these directories for include files. The default is to use the same path specified as &cv-CPPPATH;. + + Don't explicitly put include directory arguments in SWIGFLAGS; the result will be non-portable @@ -171,20 +217,24 @@ directory when they are used in a command. To force &scons; to look-up a directory relative to the root of the source tree use #: + - + env = Environment(SWIGPATH='#/include') - + + The directory look-up can also be forced using the &Dir;() function: + - + include = Dir('include') env = Environment(SWIGPATH=include) - + + The directory list will be added to command lines through the automatically-generated &cv-_SWIGINCFLAGS; @@ -198,15 +248,20 @@ of each directory in &cv-SWIGPATH;. Any command lines you define that need the SWIGPATH directory list should include &cv-_SWIGINCFLAGS;: + - + env = Environment(SWIGCOM="my_swig -o $TARGET $_SWIGINCFLAGS $SORUCES") - + + The version number of the SWIG tool. + + + \ No newline at end of file -- cgit v1.2.3