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