>From http
://www.boost.org/doc/html/bbv2/advanced.html I read:
import module ;
import module : rule ;
The first form imports the specified bjam module. All rules
from that module
are made available using the qualified name: module.rule.
The second form
imports the specified rules only, and they can be called
using unqualified
names.
So this seems to give one the option of sharing rules
between Jamfiles -
which is what I want to do.
I have a Jamfile.v2 which looks like:
project libs/serialization/performance
: default-build release
;
# import rules from the boost serialization test
import ../util/test ;
...
test-suite "performance" :
[ ../util/test.test-bsl-run-no-lib performance_iterators ]
;
But when I execute bjam I get an error message
$ bjam -n --dump-tests --toolset=gcc-3.3
...
Jamfile.v2:60: in modules.load
rule ../util/test.test-bsl-run-no-lib unknown in module
Jamfile</C:/Boost134/lib
s/serialization/performance>.
C:/Boost134/tools/build/v2/buildproject.jam:312: in
load-jamfile
C:/Boost134/tools/build/v2/buildproject.jam:68: in load
C:/Boost134/tools/build/v2/buildproject.jam:170: in
project.find
C:/Boost134/tools/build/v2build-system.jam:237: in load
C:Boost134toolsbuildv2/kernelmodules.jam:261: in
import
C:Boost134toolsbuildv2/kernel/bootstrap.jam:132: in
boost-build
C:Boost134boost-build.jam:9: in module scope
As always, any suggestions appreciated.
Robert Ramey
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
a>
|