|
Boost : |
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2002-07-11 14:23:53
I am trying to compile config_test that require multi-threading. To do so I
compiled test library with this definition:
lib test_exec_monitor : #sources
: #requirenments
: debug <threading>single/multi
bjam successfully compiled both subvariants of library.
Now I am compiling the test defined in Jamfile like this:
run libs/config/test/config_test.cpp
<lib>../libs/test/build/test_exec_monitor
: #args
: #input-files
: #requirements
<threading>multi
And here bjam responce:
<libs!test!build>libtest_exec_monitor.a: required property <threading>single
incompatible with <threading>multi
What I did wrong?
Gennadiy.
P.S. BTW in my first attempt to make bjam to build 2 version (single/multi
threaded) of the library, I according to docs put in default -BUILD section
of lib rule debug<threading>single/multi. bjam did not seems like it this
way. Did I misinterpret the docs?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk