Hmmm - maybe I'm misunderstanding the question but I think I do this all the time: a) I move the libs/serialization/test directory b) I invoke ../../../tools/regression/src/library_test.sh (or bat) c) read the help d) invoke ../../../tools/regression/src/library_test.sh with the proper toolset and other options e) thinks crank away building everthing that is needed (including ANY other need libraries). f) I get a report indicating which tests passed/failed g) I have to move by hand the compiled libraries/shared_libraries to a common place Then I'm in business - and as a side effect, I've tested the library in my environment. I don't know if this would work for all libraries or it is an unintended feature of the Jamfile in the serialization library test directory. Robert Ramey Vladimir Prus wrote:
Agnel C J Kurian wrote:
Hi,
I've been trying to build and install selected Boost libraries (regex, graph, program options) from the command line (MS VC9 Express) using the --with-library option of bjam. However I find that bjam copies headers for all boost libraries to the target location. How do I build and install only the specified library and it's headers?
It's not possible. "its headers" typically depend on lots of other boost headers.
What are you trying to achieve?
- Volodya