aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-10-07 08:52:20 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-10-07 08:52:20 +0200
commit56043225000df52cf530a85dc5f53ad06ba241cd (patch)
tree9bf6a0090522896c0fa96baff61a574defcc7165 /build
parentc1f810de13243f1b6b3a9e7c9313ceb936471e53 (diff)
Add support for STL-conforming iterators
The new XSDE_STL_ITERATOR configuration variable is used to conditionally turn this on.
Diffstat (limited to 'build')
-rw-r--r--build/configuration.make2
-rwxr-xr-xbuild/configure8
2 files changed, 10 insertions, 0 deletions
diff --git a/build/configuration.make b/build/configuration.make
index bb7b932..96e6073 100644
--- a/build/configuration.make
+++ b/build/configuration.make
@@ -11,6 +11,7 @@ $(call include-once,$(scf_root)/configuration-rules.make,$(dcf_root))
xsde_arch_width :=
xsde_byteorder :=
xsde_stl :=
+xsde_stl_iterator :=
xsde_iostream :=
xsde_exceptions :=
xsde_longlong :=
@@ -35,6 +36,7 @@ ifdef xsde_stl
$(out_root)/%: xsde_arch_width := $(xsde_arch_width)
$(out_root)/%: xsde_byteorder := $(xsde_byteorder)
$(out_root)/%: xsde_stl := $(xsde_stl)
+$(out_root)/%: xsde_stl_iterator := $(xsde_stl_iterator)
$(out_root)/%: xsde_iostream := $(xsde_iostream)
$(out_root)/%: xsde_exceptions := $(xsde_exceptions)
$(out_root)/%: xsde_longlong := $(xsde_longlong)
diff --git a/build/configure b/build/configure
index 16bccff..cdf1790 100755
--- a/build/configure
+++ b/build/configure
@@ -45,6 +45,13 @@ $echo
stl=`read_y_n y`
$echo
+$echo "Would you like the generated code and runtime to provide STL-"
+$echo "conforming iterators?"
+$echo
+
+stl_iter=`read_y_n y`
+
+$echo
$echo "Would you like the generated code and runtime to use IO streams?"
$echo
@@ -160,6 +167,7 @@ fi
echo "xsde_arch_width := $arch_width" >$1
echo "xsde_byteorder := $byteorder" >>$1
echo "xsde_stl := $stl" >>$1
+echo "xsde_stl_iterator := $stl_iter" >>$1
echo "xsde_iostream := $iostream" >>$1
echo "xsde_exceptions := $exceptions" >>$1
echo "xsde_longlong := $longlong" >>$1