summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Defaults.xml
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2005-08-13 19:09:11 (GMT)
committerSteven Knight <knight@baldmt.com>2005-08-13 19:09:11 (GMT)
commit1a3785fc03ffde5ea3102d7683dcabe4b6fd47c0 (patch)
treedeb438a6f6be998a4f70d0af8cdb937fc2788e51 /src/engine/SCons/Defaults.xml
parente7bc4330bd90e5250174c41023f1a2b671479857 (diff)
downloadSCons-1a3785fc03ffde5ea3102d7683dcabe4b6fd47c0.zip
SCons-1a3785fc03ffde5ea3102d7683dcabe4b6fd47c0.tar.gz
SCons-1a3785fc03ffde5ea3102d7683dcabe4b6fd47c0.tar.bz2
Add a Dirs() function that can be used in hBcexpansions. (Stanislav Baranov)
Diffstat (limited to 'src/engine/SCons/Defaults.xml')
-rw-r--r--src/engine/SCons/Defaults.xml44
1 files changed, 34 insertions, 10 deletions
diff --git a/src/engine/SCons/Defaults.xml b/src/engine/SCons/Defaults.xml
index 837dd63..71f2f21 100644
--- a/src/engine/SCons/Defaults.xml
+++ b/src/engine/SCons/Defaults.xml
@@ -71,16 +71,12 @@ env.PDF(target = 'bbb', source = 'bbb.dvi')
<cvar name ="_concat">
<summary>
-A function used to produce variables like &cv-_CPPINCFLAGS;.
-It takes four to seven arguments:
-a prefix to concatenate onto each element;
-a list of elements;
-a suffix to concatenate onto each element;
-an environment for variable interpolation;
-an optional function that will be
-called to transform the list before concatenation;
-a target or list of targets;
-and a source or list of sources.
+A function used to produce variables like &cv-_CPPINCFLAGS;. It takes
+four or five
+arguments: a prefix to concatenate onto each element, a list of
+elements, a suffix to concatenate onto each element, an environment
+for variable interpolation, and an optional function that will be
+called to transform the list before concatenation.
<example>
env['_CPPINCFLAGS'] = '$( ${_concat(INCPREFIX, CPPPATH, INCSUFFIX, __env__, RDirs)} $)',
@@ -239,6 +235,20 @@ env = Environment(CCCOM="my_compiler $_CPPINCFLAGS -c -o $TARGET $SOURCE")
</summary>
</cvar>
+<cvar name="Dir">
+<summary>
+A function that converts a string
+into a Dir instance relative to the target being built.
+</summary>
+</cvar>
+
+<cvar name="Dirs">
+<summary>
+A function that converts a list of strings
+into a list of Dir instances relative to the target being built.
+</summary>
+</cvar>
+
<cvar name="DSUFFIXES">
<summary>
The list of suffixes of files that will be scanned
@@ -251,6 +261,13 @@ The default list is:
</summary>
</cvar>
+<cvar name="File">
+<summary>
+A function that converts a string into a File instance relative to the
+target being built.
+</summary>
+</cvar>
+
<cvar name="IDLSUFFIXES">
<summary>
The list of suffixes of files that will be scanned
@@ -473,3 +490,10 @@ The prefix used for PDF file names.
The suffix used for PDF file names.
</summary>
</cvar>
+
+<cvar name="RDirs">
+<summary>
+A function that converts a string into a list of Dir instances by
+searching the repositories.
+</summary>
+</cvar>