Boost logo

Boost :

Subject: Re: [boost] Build: Trying to get Boost.Build to see my OpenSSLonWindows
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2016-10-01 17:13:24


AMDG

On 10/01/2016 02:55 PM, Vinnie Falco wrote:
>
> My assumption during this whole process is that with a correctly
> configured MSVC/Boost.Build environment, I can get the Asio SSL
> examples to compile simply by issuing "b2" from the corresponding
> directory. I am starting to believe this assumption is false.
>

The Jamfile isn't really designed to support it.

> On Sat, Oct 1, 2016 at 3:00 PM, Steven Watanabe <watanabesj_at_[hidden]> wrote:
>> I suspect that the reason is that your lib ssl is not being used.
>
> Yes I am believing that as well!
>
>> A lib ssl in user-config.jam is totally separate from a lib ssl in
>> your Jamfile. To access it you'll need to add project user-config ;
>> in user-config.jam and then refer to /user-config//ssl in the Jamfile
>
> This is producing results! I am making forward progress now. But I'm
> still left wondering how anyone is supposed to build the Asio SSL
> example on Windows (without having to add a bunch of paths to the b2
> invocation every time).
>

  You can set them in user-config with the 'project'
rule. The only problem is that they will be used
for all builds of everything, regardless of whether
they're actually needed. I suppose that you could
put a project-config.jam in the directory of the
ssl example. This will be used only when you
run b2 in that directory.

In Christ,
Steven Watanabe


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk