|
Boost-Build : |
From: Paolo Coletta (paolo_at_[hidden])
Date: 2007-01-30 08:08:09
On Sat, 06 Jan 2007 16:37:49 +0300, Vladimir Prus wrote:
> On Friday 05 January 2007 17:18, Paolo Coletta wrote:
>> On Fri, 05 Jan 2007 13:04:51 +0100, Jorge Suit Perez Ronda wrote:
>>
>> > I think you need to do:
>> >
>> > import project ;
>> > project.initialize $(__name__) ;
>> > project site-config ;
>> >
>> > in order to use site-config.jam as a project
>> >
>> > the line 'project.initialize $(__name__) ;' is missing
>> >
>> > I take that from the documentation: http://boost.org/boost-build2/doc/html/bbv2/recipies/site-config.html
>> >
>> > hope it helps, regards,
>> >
>> > Jorge
>>
>> Unfortunately this didn't help. I still get the same error.
>> Moreover, I found a previous thread
>> (http://article.gmane.org/gmane.comp.lib.boost.build/10165/match=seting+boost+enabled+development+environement)
>> where it was said that the first two lines should not be needed anymore
>> since ver 1.33. BTW, this probably means that the doc is out-of-date.
>>
>> Other hints?
>
> I would very much advice to use nightly build of V2. There, 'site-config' is a project already,
> you don't need anything to declare targets in it.
>
> - Volodya
>
>
Thanks Volodya, it worked (I checked out bjam/bbv2 yesterday).
I had to use an alias instead of a lib target; for the moment I just
need the headers, thus, the following site-config.jam works for me.
project site-config ;
alias jdk
:
:
:
:
<include>C:/SDK/Java/jdk1.5.0_09/include
<include>C:/SDK/Java/jdk1.5.0_09/include/win32
;
Paolo
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
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