mirror of
https://github.com/boostorg/contract.git
synced 2026-01-19 16:12:17 +00:00
22 lines
864 B
Plaintext
22 lines
864 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
|
|
: source-location ../src
|
|
: common-requirements
|
|
<library>$(boost_dependencies)
|
|
<include>../include
|
|
<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).
|
|
<define>BOOST_CONTRACT_NO_LIB=1
|
|
;
|
|
|
|
# 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 ;
|