Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-07-12 06:00:01


On Friday 11 July 2008 00:20:28 william marié wrote:
> Hi,
>
> Sorry for the "it doesn't work" there was nothing offensive in that it a way
> like another to say that "in my program i can't make it work" so i will try
> not to use the sentence anymore :)

The problem with "it doesn't work" is not that it's offensive, but that it's
not specific :-)

>
> I go back on my problem, the solution you gave me didn't solve it here is
> the code of the jamfile of boost python which i modified :
>
> ------------------------------------------
> rule kboost_python_lib ( )
> {
> lib boost_python
> : # sources
> numeric.cpp
> list.cpp
> ......
>
> install dist : /boost/python//boost_python : <location>c:/temp ;
> }
>
> kboost_python_lib ;
> ------------------------------------------
> The library is properly build but it seems that the install rule does not do
> what i want it to do.

Sure -- why do you expect this "dist" target to be built? You have boost.python Jamfile,
which goes like this:

        lib boost_python : ....... ;
        install dist : ........ ;

when you build your project, you refer to the boost_python target, so it's built. Nothing
calls for the 'dist' target to be built. If you put

    install dist : /boost/python//boost_python : <location>c:/temp ;

into your Jamroot, and run bjam from the directory of Jamroot, it will be installed.

- Volodya


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk