Boost logo

Boost :

Subject: Re: [boost] Build: Trying to get Boost.Build to see my OpenSSL on Windows
From: Vinnie Falco (vinnie.falco_at_[hidden])
Date: 2016-10-01 14:19:15


On Sat, Oct 1, 2016 at 1:30 PM, Peter Dimov <lists_at_[hidden]> wrote:
> BTW2, the Asio example Jamfile does not do
>
> lib ssl ;
>
> under Windows. It does
>
> lib ssl : : <name>ssleay32 ;
> lib crypto : : <name>libeay32 ;

True, although this just sets the correct filename for the library. It
doesn't help get the include path right.

My current approach is to try to get suitable "lib" entries in my
site-config.jam for ssl and crypto. From the Boost.Build docs, it
seems like there's a way to define a lib entry so that projects using
the lib will automatically inherit the proper include paths, library
paths, and library file names. Haven't quite got it right yet though.
Here are my site-config.jam entries:

lib ssl
  : # sources
  : # requirements
    <name>ssleay32MT
  : # default-build
  : # usage-requiremnets
    <include>$(OPENSSL_INCLUDE_DIR)
  ;

lib crypto
  :
  :
    <name>$(OPENSSL_LIBRARIES)/VC/libeay32MT
  :
  :
    <include>$(OPENSSL_INCLUDE_DIR)
  ;

Still hacking on this trying to get it right...


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