Boost logo

Boost-Build :

Subject: Re: [Boost-build] Problem with boost build - max include limit?
From: Johan Nilsson (r.johan.nilsson_at_[hidden])
Date: 2009-11-09 02:29:20


Jeremy wrote:

[snip]

>
> Is there a limit to include folders? A character or command line
> limit that I'm hitting and am unaware of? If so, how can I work
> around it? I'd like to avoid splitting this library into further
> libraries if there is another way.
>
> Thanks
>
>
> project Common
> : requirements <include>./
> : requirements <include>../dependencies/gmsrc_ex/src/gm
> : requirements <include>../dependencies/gmsrc_ex/src/binds
> : requirements
> <include>../dependencies/gmsrc_ex/src/3rdParty/mathlib
> : requirements
> <include>../dependencies/gmsrc_ex/src/3rdParty/gmbinder2
> : requirements <include>../dependencies/guichan-0.7.1/include
> : requirements <include>../dependencies/guichan-0.7.1/addons
> : requirements <include>../dependencies/Recast/Recast/Include
> : requirements <include>../dependencies/Recast/Detour/Include
> : requirements <include>../dependencies/physfs
> : requirements <include>../dependencies/physfs/lzma/C
> : requirements <include>../dependencies/physfs/zlib123
> : requirements <include>../dependencies/physfs/lzma/C/Archive/7z
> : requirements
> <include>../dependencies/physfs/lzma/C/Compress/Lzma
> : requirements
> <include>../dependencies/physfs/lzma/C/Compress/Branch
> : requirements <include>../dependencies/sqlite3
> ;
>

Does Boost.Build really accept the above? Try removing the duplicate
"requirements":

project Common
  : requirements
    <include>./
    <include>../dependencies/gmsrc_ex/src/gm
    <include>../dependencies/gmsrc_ex/src/binds
    <include>../dependencies/gmsrc_ex/src/3rdParty/mathlib
    <include>../dependencies/gmsrc_ex/src/3rdParty/gmbinder2

        [...]

    <include>../dependencies/sqlite3
     ;

If that doesn't help, try invoking bjam with the "-d+2" option to see the
actual commands invoked.

HTH /Johan


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