# (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.
project : requirements static release ;
import feature ;
import toolset ;
feature.feature phoenix-limit : : free ;
toolset.flags wave PHOENIX-LIMIT ;
actions wave bind PHOENIX-LIMIT
{
echo Preprocessing with BOOST_PHOENIX_LIMIT=$(PHOENIX-LIMIT)...
$(>[2]) -o- -DBOOST_PHOENIX_LIMIT=$(PHOENIX-LIMIT) --config-file wave.cfg $(>[1])
}
W = /boost/libs/wave/tool//wave ;
make preprocess_phoenix_10
: preprocess_phoenix.cpp $(W) : wave : 10
;
make preprocess_phoenix_20
: preprocess_phoenix.cpp $(W) : wave : 20
;
make preprocess_phoenix_30
: preprocess_phoenix.cpp $(W) : wave : 30
;
make preprocess_phoenix_40
: preprocess_phoenix.cpp $(W) : wave : 40
;
make preprocess_phoenix_50
: preprocess_phoenix.cpp $(W) : wave : 50
;