Boost logo

Boost-Build :

From: Mateusz Loskot (mateusz_at_[hidden])
Date: 2019-12-16 21:35:13


Hi,

On Windows, I'm building tests of Boost.GIL using
dependencies like libpng, libjpeg, etc. installed with vcpkg.

In my user-config.jam I have entries like this:

using libjpeg
  :
  : <include>C:/vcpkg/installed/x86-windows/include
<search>C:/vcpkg/installed/x86-windows/lib
  : <address-model>32
  ;

using libjpeg
  :
  : <include>C:/vcpkg/installed/x64-windows/include
<search>C:/vcpkg/installed/x64-windows/lib
  : <address-model>64
  ;

At build time, everything works fine.

For run-time, GIL tests need to load DLLs in C:\vcpkg\installed\x86-windows\bin
If I add this location to PATH manually, everything works at run-time fine.

I'm looking for a way to add that location to PATH from user-config.jam.
Is it possible? How?

Best regards,

-- 
Mateusz Loskot, http://mateusz.loskot.net

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