build target for preprocessing Fusion with wave

This commit is contained in:
Eric Niebler committed 2014-01-21 14:17:09 -08:00
1 parent f2e7a184a0
commit e1dc534877
110 files changed
+8580 -2113

No files matched your search

+41
View File
@@ -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
;
+15
View File
@@ -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"
+23
View File
@@ -0,0 +1,23 @@
# (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_STATIC_ASSERT
-NBOOST_FORCEINLINE
-NBOOST_MPL_ASSERT
-NBOOST_MPL_ASSERT_MSG
-NBOOST_MPL_ASSERT_RELATION
-NBOOST_GPU_ENABLED
-NBOOST_FUSION_HAS_VARIADIC_MAP
-NBOOST_FUSION_VECTOR_COPY_INIT
-NBOOST_FUSION_VECTOR_CTOR_HELPER
-S..\include
-S..\..\..
-S"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE"
--variadics