mirror of
https://github.com/boostorg/interprocess.git
synced 2026-01-19 04:12:13 +00:00
Make the library modular usable.
This commit is contained in:
@@ -15,38 +15,28 @@
|
||||
# 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:
|
||||
|
||||
project : requirements
|
||||
<toolset>acc:<linkflags>-lrt
|
||||
<toolset>acc-pa_risc:<linkflags>-lrt
|
||||
<toolset>gcc,<target-os>windows:<linkflags>"-lole32 -loleaut32 -lpsapi -ladvapi32"
|
||||
<target-os>hpux,<toolset>gcc:<linkflags>"-Wl,+as,mpas"
|
||||
<target-os>windows,<toolset>clang:<linkflags>"-lole32 -loleaut32 -lpsapi -ladvapi32"
|
||||
<target-os>linux:<linkflags>"-lrt"
|
||||
<library>/boost/multi_index//boost_multi_index
|
||||
;
|
||||
|
||||
rule test_all
|
||||
{
|
||||
local all_rules = ;
|
||||
|
||||
for local fileb in [ glob comp*.cpp ]
|
||||
{
|
||||
all_rules += [ link $(fileb)
|
||||
: # additional args
|
||||
<toolset>acc:<linkflags>-lrt
|
||||
<toolset>acc-pa_risc:<linkflags>-lrt
|
||||
<toolset>gcc,<target-os>windows:<linkflags>"-lole32 -loleaut32 -lpsapi -ladvapi32"
|
||||
<target-os>hpux,<toolset>gcc:<linkflags>"-Wl,+as,mpas"
|
||||
<target-os>windows,<toolset>clang:<linkflags>"-lole32 -loleaut32 -lpsapi -ladvapi32"
|
||||
<target-os>linux:<linkflags>"-lrt"
|
||||
: # test-files
|
||||
: # requirements
|
||||
] ;
|
||||
all_rules += [ link $(fileb) ] ;
|
||||
}
|
||||
|
||||
for local fileb in [ glob doc_*.cpp ]
|
||||
{
|
||||
all_rules += [ run $(fileb)
|
||||
: # additional args
|
||||
: # test-files
|
||||
: # requirements
|
||||
<toolset>acc:<linkflags>-lrt
|
||||
<toolset>acc-pa_risc:<linkflags>-lrt
|
||||
<toolset>gcc-mingw:<linkflags>"-lole32 -loleaut32 -lpsapi -ladvapi32"
|
||||
<target-os>hpux,<toolset>gcc:<linkflags>"-Wl,+as,mpas"
|
||||
<target-os>windows,<toolset>clang:<linkflags>"-lole32 -loleaut32 -lpsapi -ladvapi32"
|
||||
<target-os>linux:<linkflags>"-lrt"
|
||||
] ;
|
||||
all_rules += [ run $(fileb) ] ;
|
||||
}
|
||||
|
||||
return $(all_rules) ;
|
||||
|
||||
Reference in New Issue
Block a user