mirror of
https://github.com/boostorg/sync.git
synced 2026-01-19 04:42:12 +00:00
This adds explicit specification of all library dependencies, which is necessary for modular b2 builds and also for tracking usage requirements from the dependencies. This also introduces a new boost_sync_with_support target, which provides a dependency on the main Boost.Sync library, as well as any additional dependencies that are needed for support headers.
37 lines
811 B
Plaintext
37 lines
811 B
Plaintext
# (C) Copyright 2010: Tim Blechmann
|
|
# Distributed under the Boost Software License, Version 1.0.
|
|
# (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
import testing ;
|
|
import path ;
|
|
import regex ;
|
|
|
|
project
|
|
: source-location .
|
|
: requirements
|
|
<threading>multi
|
|
<hardcode-dll-paths>true
|
|
<library>/boost/sync//boost_sync_with_support
|
|
<library>/boost/thread//boost_thread
|
|
<library>/boost/date_time//boost_date_time
|
|
;
|
|
|
|
|
|
rule test_all
|
|
{
|
|
local all_rules ;
|
|
|
|
for local file in [ glob run/*.cpp ]
|
|
{
|
|
all_rules += [ run $(file)
|
|
: # additional args
|
|
: # test-files
|
|
: # requirements
|
|
] ;
|
|
}
|
|
|
|
return $(all_rules) ;
|
|
}
|
|
|
|
test-suite sync : [ test_all ] : <threading>multi ;
|