summaryrefslogtreecommitdiffstats
path: root/src/boost/libs/phoenix/preprocess/Jamfile.v2
blob: ffd36147dc54dfe27f4441d22e60d194b0929757 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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.

project : requirements <link>static <variant>release ;

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 = /boost/libs/wave/tool//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
  ;