contract/build/Jamfile.v2

24 lines
971 B
Plaintext

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