Boost logo

Boost-Build :

Subject: Re: [Boost-build] Project-root.jam
From: Edward Diener (eldiener_at_[hidden])
Date: 2010-12-01 15:59:06

On 12/1/2010 11:00 AM, Daniel James wrote:
>> On 12/1/2010 10:48 AM, Thomas Suckow wrote:
>>> It looks like in 2008 project-root.jam became Jamroot.jam
> OK, I missed that. If 'jamroot.jam' is the 'official' name, then the
> example should be changed.
> On 1 December 2010 15:53, Edward Diener<eldiener_at_[hidden]> wrote:
>> Is project-root.jam still treated as a jam root or not ?
> It still is.

OK, then your 'example' sandbox is fine, although maybe you should
change project-root.jam to jamroot.jam.

Still my test build, in its own sandbox directory does not work. Here
are the jam files, using your example.

Top level project-root.jam ( or jamroot.jam ) is exactly the same as the
one in 'example'.

In the top level jamfile.v2 I just changed the project name and it is:

project variadic_macro_data
     : requirements
         build-dir bin.v2


Jamfile in the sandbox/variadic_macro_data/libs/variadic_macro_data/test

import testing ;

project variadic_macro_data_tests : requirements <warnings>on

test-suite variadic_macro_data
         [ run TestData.cpp ]
         [ run TestDataAsTuple.cpp ]
         [ run TestDataAsArray.cpp ]
         [ run TestDataAsList.cpp ]
         [ run TestDataAsSequence.cpp ]


My boost trunk, from SVN, is at C:\Programming\VersionControl\boost. I
open a command prompt under Windows in my
sandbox/variadic_macro_data/libs/variadic_macro_data/test and execute:

bjam --boost=C:/Programming/VersionControl/boost toolset=msvc-10.0

and I get a whole set of errors like:

: fatal error C1083: Cannot open include file: 'boost/config.hpp': No
such file or directory.


If I remove the jam files in the top-level sandbox directory, which are
boost-build.jam, jamfile.v2, and jamroot.jam, when I execute:

bjam --boost=C:/Programming/VersionControl/boost toolset=msvc-10.0

I get:

Unable to load Boost.Build: could not find "boost-build.jam"
Attempted search from
libs\variadic_macro_data\test up to the root
at C:/Programming/share/boost-build

Please consult the documentation at ''.


Any ideas why this is not working would be appreciated. I am clueless
and am now attempting to methodically read through the Boost Build
documentation topic by topic to see if I can unearth what is happening.

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at