Jamfile.v2 1.1 KB

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