Re: using toolset vs toolset=

Alexander Arhipenko via Boost-build <[email protected]>
Newsgroups gmane.comp.lib.boost.build
Message-ID <CADyV_RQmTdW4CHwCJv3=WBRvsXq7iX3f1JgxagA=cAvz-6yA_w@mail.gmail.com>
Hi Steven,

On Wed, May 30, 2018 at 3:30 PM, Steven Watanabe via Boost-build
<[email protected]> wrote:
> AMDG
>
> [snip]
>> WARNING: Unable to construct sample/sample of type EXE with these properties:
>> <snip>
>>
>> --debug-generators did not provide insights to me yet.
>>
>> Do you have an idea what causes the error and how to fix it?
>>
>
>   Try --debug-configuration as well.  Also, this
> may be related: https://github.com/boostorg/build/issues/308
> I do notice that the clang version is not listed in
> the properties.
>

Thank you for reply.
I have noticed your comment in https://github.com/boostorg/build/issues/308:
> I was testing at $BOOST_ROOT.
> The reason it worked for me is that the top level target stage target is an alias,
> so there's an extra expansion before it gets to anything that actually needs building.

... and added project definition to my Jamroot.jam that was previously empty:
project cvboost : default-build debug;

That solved the problem however I am not 100% sure why.
For your information, difference in properties (site-config.jam vs toolset=)
before making changes to Jamroot was:
<toolset-clang:platform>darwin <toolset-clang:version>4.2.1
The latter 2 was added when invoking b2 with toolset=clang.

Regards
_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.