Files
intrusive/example/Jamfile.v2

43 lines
1.4 KiB
Plaintext
Raw Permalink Normal View History

2007-06-23 13:09:46 +00:00
# Boost Intrusive Library Example Jamfile
2007-05-04 21:30:54 +00:00
# (C) Copyright Ion Gaztanaga 2006-2013.
2012-05-20 09:54:48 +00:00
# Use, modification and distribution are subject to the
# Boost Software License, Version 1.0. (See accompanying file
2007-05-04 21:30:54 +00:00
# LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
# Adapted from John Maddock's TR1 Jamfile.v2
# Copyright John Maddock 2005.
2012-05-20 09:54:48 +00:00
# Use, modification and distribution are subject to the
# Boost Software License, Version 1.0. (See accompanying file
2007-05-04 21:30:54 +00:00
# LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
2024-04-25 08:49:08 -05:00
import testing ;
2007-05-04 21:30:54 +00:00
# this rule enumerates through all the sources and invokes
# the run rule for each source, the result is a list of all
# the run rules, which we can pass on to the test_suite rule:
rule test_all
{
local all_rules = ;
for local fileb in [ glob *.cpp ]
{
2013-01-05 16:39:30 +00:00
all_rules += [ run $(fileb)
2007-05-04 21:30:54 +00:00
: # additional args
: # test-files
: # requirements
2010-08-26 06:56:37 +00:00
<toolset>acc:<linkflags>-lrt
<toolset>acc-pa_risc:<linkflags>-lrt
<toolset>gcc,<target-os>windows:<linkflags>"-lole32 -loleaut32"
2010-08-26 06:56:37 +00:00
<host-os>hpux,<toolset>gcc:<linkflags>"-Wl,+as,mpas"
<host-os>windows,<toolset>clang:<linkflags>"-lole32 -loleaut32 -lpsapi -ladvapi32"
2024-03-11 08:38:17 -05:00
<library>/boost/interprocess//boost_interprocess
2007-05-04 21:30:54 +00:00
] ;
}
return $(all_rules) ;
}
2012-05-20 09:54:48 +00:00
test-suite intrusive_example : [ test_all r ] : <threading>multi ;