|
Boost : |
From: Manuel Fiorelli (manuel.fiorelli_at_[hidden])
Date: 2007-06-15 18:24:46
Thank you Stephan,
I followed your step-by-step procedure and successfully build my project
outside boost directories. For my test I use this Jamfile
use-project boost
: $(BOOST_ROOT)
;
project boost/my_library
: build-dir bin.v2
;
import quickbook ;
xml test
:
test.qbk
;
boostbook standalone
:
test
:
<xsl:param>toc.max.depth=3
<xsl:param>toc.section.depth=3
<xsl:param>chunk.section.depth=3
;
exe prova : main.cpp ;
When you write
project boost/my_library
do you mean to define a library inside the project boost???
It seems that the fundamental line is use-project boost, because when I
eliminate it, I got the following error
Building Boost.Regex with the optional Unicode/ICU support disabled.
Please refer to the Boost.Regex documentation for more information
(don't panic: this is a strictly optional feature).
/home/manuel/boost_1_34_0/tools/build/v2/build/virtual-target.jam:996: in
virtual-target.register-actual-name from module virtual-target
error: Duplicate name of actual target: <pbin/gcc-4.1.2/debug>test.xml
error: previous virtual target { quickbook%quickbook.quickbook-
to-boostbook-test.xml.XML { test.qbk.QUICKBOOK } }
error: created from ./test
error: another virtual target { quickbook%quickbook.quickbook-
to-boostbook-test.xml.XML { test.qbk.QUICKBOOK } }
error: created from ./test
error: added properties: <python-debugging>off <python>2.5
error: removed properties: none
/home/manuel/boost_1_34_0/tools/build/v2/build/virtual-target.jam:459: in
actualize-no-scanner from module object(file-target)@462
/home/manuel/boost_1_34_0/tools/build/v2/build/virtual-target.jam:111: in
object(file-target)@462.actualize from module object(file-target)@462
/home/manuel/boost_1_34_0/tools/build/v2/build/virtual-target.jam:743: in
actualize-source-type from module object(action)@471
/home/manuel/boost_1_34_0/tools/build/v2/build/virtual-target.jam:764: in
actualize-sources from module object(action)@471
/home/manuel/boost_1_34_0/tools/build/v2/build/virtual-target.jam:709: in
object(action)@471.actualize from module object(action)@471
/home/manuel/boost_1_34_0/tools/build/v2/build/virtual-target.jam:274: in
actualize-action from module object(file-target)@472
/home/manuel/boost_1_34_0/tools/build/v2/build/virtual-target.jam:467: in
actualize-no-scanner from module object(file-target)@472
/home/manuel/boost_1_34_0/tools/build/v2/build/virtual-target.jam:111: in
object(file-target)@472.actualize from module object(file-target)@472
/home/manuel/boost_1_34_0/tools/build/v2/build/virtual-target.jam:743: in
actualize-source-type from module object(action)@474
/home/manuel/boost_1_34_0/tools/build/v2/build/virtual-target.jam:764: in
actualize-sources from module object(action)@474
/home/manuel/boost_1_34_0/tools/build/v2/build/virtual-target.jam:709: in
object(action)@474.actualize from module object(action)@474
/home/manuel/boost_1_34_0/tools/build/v2/build/virtual-target.jam:274: in
actualize-action from module object(file-target)@475
/home/manuel/boost_1_34_0/tools/build/v2/build/virtual-target.jam:467: in
actualize-no-scanner from module object(file-target)@475
/home/manuel/boost_1_34_0/tools/build/v2/build/virtual-target.jam:111: in
object(file-target)@475.actualize from module object(file-target)@475
/home/manuel/boost_1_34_0/tools/build/v2/build-system.jam:476: in load from
module build-system
/home/manuel/boost_1_34_0//tools/build/v2/kernel/modules.jam:261: in import
from module modules
/home/manuel/boost_1_34_0//tools/build/v2/kernel/bootstrap.jam:132: in
boost-build from module
/home/manuel/Prova/boost-build.jam:1: in module scope from module
which is exactly what I got before you reveal me your procedure.
I hope to have time to study closer Boost.Build and, moreover, to write a
decent library for Boost project..
Best Regards
Manuel Fiorelli
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk