Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-06-28 05:28:20


On Friday 27 June 2008 19:39:49 William Marié wrote:
>
> Hi,
>
> I'm using Python, but as python package doesn't provide a Jamfiles i'm using
> the vcproj to compile pythoncore. All my other projects in my solution are
> Makefile projects which call bjam. The problem for my script library is the
> following : i have that in my Jamfile :
>
> # Library creation rule
> klib script : [ glob *.cpp ]
> /core//core
> /sys//sys
> python25.lib
> ;
>
> Everything works perfectly except when i try to clean more than once because
> it says :
> >error: Unable to find file or target named
> 1>error: 'python25.lib'
>
> How can i tell him that it's not that important if 'for a clean' the
> python25.lib is not here ( which is obvious because it has been deleted by
> the pythoncore project in my solution )

There's no way now. I'd suggest you link to python as a searched library.
In that case, the library will be searched for by the linker, so no error
will be emitted during clean time.

- 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