Jamfile.v2 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. import testing ;
  2. project
  3. : requirements
  4. <library>../build//boost_program_options
  5. <link>static
  6. <variant>debug
  7. # <define>_GLIBCXX_CONCEPT_CHECKS
  8. # <define>_GLIBCXX_DEBUG
  9. ;
  10. rule po-test ( source : input-file ? )
  11. {
  12. return
  13. [ run $(source) : : $(input-file) ]
  14. [ run $(source) : : $(input-file)
  15. : <link>shared <define>BOOST_PROGRAM_OPTIONS_DYN_LINK=1
  16. : $(source:B)_dll ]
  17. ;
  18. }
  19. test-suite program_options :
  20. [ po-test options_description_test.cpp ]
  21. [ po-test parsers_test.cpp : config_test.cfg ]
  22. [ po-test variable_map_test.cpp ]
  23. [ po-test cmdline_test.cpp ]
  24. [ po-test positional_options_test.cpp ]
  25. [ po-test unicode_test.cpp ]
  26. [ po-test winmain.cpp ]
  27. [ po-test exception_test.cpp ]
  28. [ po-test split_test.cpp ]
  29. [ po-test unrecognized_test.cpp ]
  30. [ po-test required_test.cpp : required_test.cfg ]
  31. [ po-test exception_txt_test.cpp ]
  32. [ po-test optional_test.cpp ]
  33. [ run options_description_test.cpp : : : <rtti>off <define>BOOST_NO_RTTI <define>BOOST_NO_TYPEID : options_description_no_rtti_test ]
  34. ;
  35. exe test_convert : test_convert.cpp ;
  36. # `quick` target (for CI)
  37. run quick.cpp : --path=initial ;