1 # Boost Interprocess Library Example Jamfile
3 # (C) Copyright Ion Gaztanaga 2006.
4 # Use, modification and distribution are subject to the
5 # Boost Software License, Version 1.0. (See accompanying file
6 # LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
8 # Adapted from John Maddock's TR1 Jamfile.v2
9 # Copyright John Maddock 2005.
10 # Use, modification and distribution are subject to the
11 # Boost Software License, Version 1.0. (See accompanying file
12 # LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
14 # this rule enumerates through all the sources and invokes
15 # the run rule for each source, the result is a list of all
16 # the run rules, which we can pass on to the test_suite rule:
22 for local fileb in [ glob comp*.cpp ]
24 all_rules += [ link $(fileb) /boost/thread//boost_thread
26 <toolset>acc:<linkflags>-lrt
27 <toolset>acc-pa_risc:<linkflags>-lrt
28 <toolset>gcc-mingw:<linkflags>"-lole32 -loleaut32"
29 <host-os>hpux,<toolset>gcc:<linkflags>"-Wl,+as,mpas"
35 for local fileb in [ glob doc_*.cpp ]
37 all_rules += [ run $(fileb) /boost/thread//boost_thread
41 <toolset>acc:<linkflags>-lrt
42 <toolset>acc-pa_risc:<linkflags>-lrt
43 <toolset>gcc-mingw:<linkflags>"-lole32 -loleaut32"
44 <host-os>hpux,<toolset>gcc:<linkflags>"-Wl,+as,mpas"
51 test-suite interprocess_example : [ test_all r ] : <threading>multi ;