|
Boost-Build : |
From: David Abrahams (dave_at_[hidden])
Date: 2005-09-23 12:03:39
Jason Stewart <jstewart_at_[hidden]> writes:
> At 05:11 PM 9/22/2005, you wrote:
>>Jason Stewart <jstewart_at_[hidden]> writes:
>>
>> >>Well, you should use Jamroot, but that aside, add
>> >>
>> >> use-project /boost : $(BOOST_ROOT) ;
>> >
>> > Do you mean the rules should be in Jamroot instead of project-root.jam?
>>
>>Jamroot combines the top Jamfile and project-root.jam; you can just
>>dump everything in there. But it's not crucial.
>
> I tried to create a new, simpler project--hello world. I tried to
> create a Jamroot file and I get the following:
>
> Failed to find the project root for directory '.'.
> Did not find a project-root.jam file there or in any of its
> parent directories.
> Please consult the documentation at 'http://www.boost.org'.
>
> When I look into the boost.build examples directory, it appears to
> have separate Jamfile and project-root.jam files. Is this an artifact
> of the version I'm using (I believe it's M10, I just downloaded it
> yesterday). When I modify my files to look like those it works.
>
> Should I be using the nightly snapshot version?
Probably.
-- Dave Abrahams Boost Consulting www.boost-consulting.com
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