Jamfile.v2 638 B

12345678910111213141516171819202122
  1. # Copyright Louis Dionne 2013-2016
  2. # Modified Work Copyright Barrett Adair 2016-2017
  3. # Copyright 2017 Peter Dimov
  4. #
  5. # Distributed under the Boost Software License, Version 1.0.
  6. # (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
  7. import testing ;
  8. import ../../config/checks/config : requires ;
  9. project :
  10. requirements
  11. [ requires cxx11_constexpr ]
  12. <toolset>clang:<cxxflags>"-pedantic -Wall -Wextra"
  13. <toolset>darwin:<cxxflags>"-pedantic -Wall -Wextra"
  14. ;
  15. for local source in [ glob *.cpp ]
  16. {
  17. run $(source) ;
  18. run $(source) : : : <define>USE_LAZY_TYPES : $(source:B)__lazy ;
  19. }