2
0
mirror of https://github.com/boostorg/phoenix.git synced 2026-02-14 00:52:09 +00:00
Files
phoenix/preprocess/Jamfile.v2
2012-09-28 03:48:41 +00:00

40 lines
1.0 KiB
Plaintext

# (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 phoenix-limit : : free ;
toolset.flags wave PHOENIX-LIMIT <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 = ../../../tools/wave/build//wave ;
make preprocess_phoenix_10
: preprocess_phoenix.cpp $(W) : wave : <phoenix-limit>10
;
make preprocess_phoenix_20
: preprocess_phoenix.cpp $(W) : wave : <phoenix-limit>20
;
make preprocess_phoenix_30
: preprocess_phoenix.cpp $(W) : wave : <phoenix-limit>30
;
make preprocess_phoenix_40
: preprocess_phoenix.cpp $(W) : wave : <phoenix-limit>40
;
make preprocess_phoenix_50
: preprocess_phoenix.cpp $(W) : wave : <phoenix-limit>50
;