Jamfile.v2 971 B

1234567891011121314151617181920212223
  1. # Copyright (C) 2008-2018 Lorenzo Caminiti
  2. # Distributed under the Boost Software License, Version 1.0 (see accompanying
  3. # file LICENSE_1_0.txt or a copy at http://www.boost.org/LICENSE_1_0.txt).
  4. # See: http://www.boost.org/doc/libs/release/libs/contract/doc/html/index.html
  5. project boost/contract
  6. : source-location ../src
  7. : requirements
  8. <link>shared:<define>BOOST_CONTRACT_DYN_LINK
  9. <link>static:<define>BOOST_CONTRACT_STATIC_LINK
  10. <threading>single:<define>BOOST_CONTRACT_DISABLE_THREADS
  11. : usage-requirements # Independent from requirements above (need to repeat).
  12. <link>shared:<define>BOOST_CONTRACT_DYN_LINK
  13. <link>static:<define>BOOST_CONTRACT_STATIC_LINK
  14. <threading>single:<define>BOOST_CONTRACT_DISABLE_THREADS
  15. ;
  16. # If lib as header-only, none of following will be used.
  17. lib boost_contract : contract.cpp : <link>shared ;
  18. lib boost_contract : contract.cpp : <link>static ;
  19. boost-install boost_contract ;