Jamfile.v2 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # Boost Container Library Test Jamfile
  2. # (C) Copyright Ion Gaztanaga 2009-2013.
  3. # Use, modification and distribution are subject to the
  4. # Boost Software License, Version 1.0. (See accompanying file
  5. # LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  6. # Adapted from John Maddock's TR1 Jamfile.v2
  7. # Copyright John Maddock 2005.
  8. # Use, modification and distribution are subject to the
  9. # Boost Software License, Version 1.0. (See accompanying file
  10. # LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  11. project
  12. : requirements
  13. <link>shared:<define>BOOST_CONTAINER_DYN_LINK=1
  14. <toolset>gcc-cygwin:<link>static
  15. ;
  16. # this rule enumerates through all the sources and invokes
  17. # the run rule for each source, the result is a list of all
  18. # the run rules, which we can pass on to the test_suite rule:
  19. rule test_all
  20. {
  21. local all_rules = ;
  22. for local fileb in [ glob *.cpp ]
  23. {
  24. all_rules += [ run $(fileb) /boost/container//boost_container
  25. : # additional args
  26. : # test-files
  27. : # requirements
  28. ] ;
  29. }
  30. return $(all_rules) ;
  31. }
  32. test-suite container_test : [ test_all r ] ;