Jamfile 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. #==============================================================================
  2. # Copyright (c) 2001-2011 Joel de Guzman
  3. # Copyright (c) 2001-2012 Hartmut Kaiser
  4. # Copyright (c) 2011 Bryce Lelbach
  5. #
  6. # Use, modification and distribution is subject to the Boost Software
  7. # License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  8. # http://www.boost.org/LICENSE_1_0.txt)
  9. #==============================================================================
  10. import testing ;
  11. ###############################################################################
  12. project spirit-support
  13. : requirements
  14. <include>.
  15. <c++-template-depth>512
  16. ;
  17. ###############################################################################
  18. local subproject-name = support ;
  19. rule run ( sources + : args * : input-files *
  20. : requirements * : target-name ? : default-build * )
  21. {
  22. target-name ?= $(subproject-name)_$(sources[1]:D=:S=) ;
  23. return [ testing.run $(sources) : $(args) : $(input-files)
  24. : $(requirements) : $(target-name) : $(default-build) ] ;
  25. }
  26. rule compile ( sources + : requirements * : target-name ? )
  27. {
  28. target-name ?= $(subproject-name)_$(sources[1]:D=:S=) ;
  29. return [ testing.compile $(sources)
  30. : $(requirements) : $(target-name) ] ;
  31. }
  32. rule compile-fail ( sources + : requirements * : target-name ? )
  33. {
  34. target-name ?= $(subproject-name)_$(sources[1]:D=:S=) ;
  35. return [ testing.compile-fail $(sources)
  36. : $(requirements) : $(target-name) ] ;
  37. }
  38. ###############################################################################
  39. run istream_iterator_basic.cpp ;
  40. run unused_type.cpp ;
  41. run utree.cpp ;
  42. run utree_debug.cpp ;
  43. compile regression_multi_pass_functor.cpp ;
  44. compile regression_multi_pass_position_iterator.cpp ;
  45. run regression_multi_pass_error_handler.cpp ;
  46. run regression_multi_pass_parse.cpp ;
  47. run regression_line_pos_iterator.cpp ;