Jamfile.v2 824 B

12345678910111213141516171819202122232425262728293031
  1. #=============================================================================
  2. # Copyright (c) 2017 Paul Fultz II
  3. # Jamfile.v2
  4. # Distributed under the Boost Software License, Version 1.0. (See accompanying
  5. # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  6. #==============================================================================
  7. import testing ;
  8. import ../../config/checks/config : requires ;
  9. project hof
  10. : requirements [ requires cxx11_variadic_templates cxx11_constexpr ]
  11. <include>../include/
  12. ;
  13. rule test_all
  14. {
  15. local all_rules = ;
  16. for local fileb in [ glob *.cpp ]
  17. {
  18. all_rules += [ run $(fileb)
  19. : # additional args
  20. : # test-files
  21. : # requirements
  22. ] ;
  23. }
  24. return $(all_rules) ;
  25. }
  26. test-suite hof : [ test_all r ] : ;