1# (C) Copyright 2012: Eric Niebler 2# Distributed under the Boost Software License, Version 1.0. 3# (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 4 5# Generates preprocessed files with wave. 6 7import feature ; 8import toolset ; 9 10feature.feature fusion-limit : : free ; 11toolset.flags wave FUSION-LIMIT <fusion-limit> ; 12 13project : requirements <link>static <variant>release ; 14 15actions wave bind FUSION-LIMIT 16{ 17 echo Preprocessing with FUSION_MAX_VECTOR_SIZE=$(FUSION-LIMIT)... 18 $(>[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]) 19} 20 21W = /boost/libs/wave/tool//wave ; 22 23make preprocess_fusion_10 24 : preprocess_fusion.cpp $(W) : wave : <fusion-limit>10 25 ; 26 27make preprocess_fusion_20 28 : preprocess_fusion.cpp $(W) : wave : <fusion-limit>20 29 ; 30 31make preprocess_fusion_30 32 : preprocess_fusion.cpp $(W) : wave : <fusion-limit>30 33 ; 34 35make preprocess_fusion_40 36 : preprocess_fusion.cpp $(W) : wave : <fusion-limit>40 37 ; 38 39make preprocess_fusion_50 40 : preprocess_fusion.cpp $(W) : wave : <fusion-limit>50 41 ; 42