Jamfile.v2 955 B

1234567891011121314151617181920212223242526272829303132
  1. # Boost.Atomic Library test Jamfile
  2. #
  3. # Copyright (c) 2011 Helge Bahmann
  4. # Copyright (c) 2012 Tim Blechmann
  5. #
  6. # Distributed under the Boost Software License, Version 1.0. (See
  7. # accompanying file LICENSE_1_0.txt or copy at
  8. # http://www.boost.org/LICENSE_1_0.txt)
  9. import testing ;
  10. project boost/atomic/test
  11. : requirements
  12. <threading>multi
  13. <library>/boost/thread//boost_thread
  14. <library>/boost/atomic//boost_atomic
  15. <target-os>windows:<define>BOOST_USE_WINDOWS_H
  16. <target-os>windows:<define>_WIN32_WINNT=0x0500
  17. <toolset>gcc,<target-os>windows:<linkflags>"-lkernel32"
  18. ;
  19. test-suite atomic
  20. : [ run native_api.cpp ]
  21. [ run fallback_api.cpp ]
  22. [ run atomicity.cpp ]
  23. [ run ordering.cpp ]
  24. [ run lockfree.cpp ]
  25. [ compile-fail cf_arith_void_ptr.cpp ]
  26. [ compile-fail cf_arith_func_ptr.cpp ]
  27. [ compile-fail cf_arith_mem_ptr.cpp ]
  28. [ compile c_implicit_ctor.cpp ]
  29. ;