Jamfile.v2 959 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # Boost.Atomic Library Jamfile
  2. #
  3. # Copyright Helge Bahmann 2011.
  4. # Copyright Andrey Semashev 2018.
  5. #
  6. # Distributed under the Boost Software License, Version 1.0.
  7. # (See accompanying file LICENSE_1_0.txt or copy at
  8. # http://www.boost.org/LICENSE_1_0.txt)
  9. import common ;
  10. project boost/atomic
  11. : requirements
  12. <threading>multi
  13. <link>shared:<define>BOOST_ATOMIC_DYN_LINK=1
  14. <link>static:<define>BOOST_ATOMIC_STATIC_LINK=1
  15. <define>BOOST_ATOMIC_SOURCE
  16. <target-os>windows:<define>BOOST_USE_WINDOWS_H
  17. <target-os>windows:<define>_WIN32_WINNT=0x0500
  18. <toolset>gcc,<target-os>windows:<linkflags>"-lkernel32"
  19. : usage-requirements
  20. <link>shared:<define>BOOST_ATOMIC_DYN_LINK=1
  21. <link>static:<define>BOOST_ATOMIC_STATIC_LINK=1
  22. : source-location ../src
  23. ;
  24. alias atomic_sources
  25. : lockpool.cpp
  26. ;
  27. explicit atomic_sources ;
  28. lib boost_atomic
  29. : atomic_sources
  30. ;
  31. boost-install boost_atomic ;