summaryrefslogtreecommitdiffstats
path: root/src/boost/libs/fusion/preprocess
diff options
context:
space:
mode:
Diffstat (limited to 'src/boost/libs/fusion/preprocess')
-rw-r--r--src/boost/libs/fusion/preprocess/Jamfile.v241
-rw-r--r--src/boost/libs/fusion/preprocess/preprocess_fusion.cpp15
-rw-r--r--src/boost/libs/fusion/preprocess/wave.cfg31
3 files changed, 87 insertions, 0 deletions
diff --git a/src/boost/libs/fusion/preprocess/Jamfile.v2 b/src/boost/libs/fusion/preprocess/Jamfile.v2
new file mode 100644
index 00000000..49423be0
--- /dev/null
+++ b/src/boost/libs/fusion/preprocess/Jamfile.v2
@@ -0,0 +1,41 @@
+# (C) Copyright 2012: Eric Niebler
+# Distributed under the Boost Software License, Version 1.0.
+# (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+
+# Generates preprocessed files with wave.
+
+import feature ;
+import toolset ;
+
+feature.feature fusion-limit : : free ;
+toolset.flags wave FUSION-LIMIT <fusion-limit> ;
+
+project : requirements <link>static <variant>release ;
+
+actions wave bind FUSION-LIMIT
+{
+ echo Preprocessing with FUSION_MAX_VECTOR_SIZE=$(FUSION-LIMIT)...
+ $(>[2]) -o- -DFUSION_MAX_VECTOR_SIZE=$(FUSION-LIMIT) -DFUSION_MAX_LIST_SIZE=$(FUSION-LIMIT) -DFUSION_MAX_ZIP_SEQUENCES=$(FUSION-LIMIT) --config-file wave.cfg $(>[1])
+}
+
+W = /boost/libs/wave/tool//wave ;
+
+make preprocess_fusion_10
+ : preprocess_fusion.cpp $(W) : wave : <fusion-limit>10
+ ;
+
+make preprocess_fusion_20
+ : preprocess_fusion.cpp $(W) : wave : <fusion-limit>20
+ ;
+
+make preprocess_fusion_30
+ : preprocess_fusion.cpp $(W) : wave : <fusion-limit>30
+ ;
+
+make preprocess_fusion_40
+ : preprocess_fusion.cpp $(W) : wave : <fusion-limit>40
+ ;
+
+make preprocess_fusion_50
+ : preprocess_fusion.cpp $(W) : wave : <fusion-limit>50
+ ;
diff --git a/src/boost/libs/fusion/preprocess/preprocess_fusion.cpp b/src/boost/libs/fusion/preprocess/preprocess_fusion.cpp
new file mode 100644
index 00000000..a727bf2c
--- /dev/null
+++ b/src/boost/libs/fusion/preprocess/preprocess_fusion.cpp
@@ -0,0 +1,15 @@
+///////////////////////////////////////////////////////////////////////////////
+// Copyright 2011 Eric Niebler. Distributed under the Boost
+// Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+
+#include "../include/boost/fusion/adapted.hpp"
+#include "../include/boost/fusion/algorithm.hpp"
+#include "../include/boost/fusion/container.hpp"
+#include "../include/boost/fusion/functional.hpp"
+#include "../include/boost/fusion/iterator.hpp"
+#include "../include/boost/fusion/mpl.hpp"
+#include "../include/boost/fusion/sequence.hpp"
+#include "../include/boost/fusion/support.hpp"
+#include "../include/boost/fusion/tuple.hpp"
+#include "../include/boost/fusion/view.hpp"
diff --git a/src/boost/libs/fusion/preprocess/wave.cfg b/src/boost/libs/fusion/preprocess/wave.cfg
new file mode 100644
index 00000000..b88198d7
--- /dev/null
+++ b/src/boost/libs/fusion/preprocess/wave.cfg
@@ -0,0 +1,31 @@
+# (C) Copyright 2012: Eric Niebler
+# Distributed under the Boost Software License, Version 1.0.
+# (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+
+# NOTE: Some of the paths in this file may need to be changed for your system.
+
+-DBOOST_FUSION_DONT_USE_PREPROCESSED_FILES
+-DBOOST_FUSION_CREATE_PREPROCESSED_FILES
+-D_WIN32
+-D_M_IX86
+-NBOOST_CLANG
+-NBOOST_STATIC_ASSERT
+-NBOOST_FORCEINLINE
+-NBOOST_CONSTEXPR
+-NBOOST_CXX14_CONSTEXPR
+-NBOOST_NOEXCEPT
+-NBOOST_NO_CXX11_RVALUE_REFERENCES
+-NBOOST_MPL_ASSERT
+-NBOOST_MPL_ASSERT_MSG
+-NBOOST_MPL_ASSERT_RELATION
+-NBOOST_GPU_ENABLED
+-NBOOST_FUSION_GPU_ENABLED
+-NBOOST_FUSION_HAS_VARIADIC_MAP
+-NBOOST_FUSION_VECTOR_COPY_INIT
+-NBOOST_FUSION_VECTOR_CTOR_HELPER
+-NBOOST_FUSION_BARRIER_BEGIN
+-NBOOST_FUSION_BARRIER_END
+-S..\include
+-S..\..\..
+-S"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE"
+--variadics