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 7project : requirements <link>static <variant>release ; 8 9import feature ; 10import toolset ; 11 12feature.feature phoenix-limit : : free ; 13toolset.flags wave PHOENIX-LIMIT <phoenix-limit> ; 14 15actions wave bind PHOENIX-LIMIT 16{ 17 echo Preprocessing with BOOST_PHOENIX_LIMIT=$(PHOENIX-LIMIT)... 18 $(>[2]) -o- -DBOOST_PHOENIX_LIMIT=$(PHOENIX-LIMIT) --config-file wave.cfg $(>[1]) 19} 20 21W = /boost/libs/wave/tool//wave ; 22 23make preprocess_phoenix_10 24 : preprocess_phoenix.cpp $(W) : wave : <phoenix-limit>10 25 ; 26 27make preprocess_phoenix_20 28 : preprocess_phoenix.cpp $(W) : wave : <phoenix-limit>20 29 ; 30 31make preprocess_phoenix_30 32 : preprocess_phoenix.cpp $(W) : wave : <phoenix-limit>30 33 ; 34 35make preprocess_phoenix_40 36 : preprocess_phoenix.cpp $(W) : wave : <phoenix-limit>40 37 ; 38 39make preprocess_phoenix_50 40 : preprocess_phoenix.cpp $(W) : wave : <phoenix-limit>50 41 ; 42