From 56043225000df52cf530a85dc5f53ad06ba241cd Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 7 Oct 2009 08:52:20 +0200 Subject: Add support for STL-conforming iterators The new XSDE_STL_ITERATOR configuration variable is used to conditionally turn this on. --- build/configuration.make | 2 ++ build/configure | 8 ++++++++ 2 files changed, 10 insertions(+) (limited to 'build') 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 -- cgit v1.1