How to add to PATH from user-config.jam?

Mateusz Loskot via Boost-build <[email protected]> Mon, 16 Dec 2019 22:35:13 +0100
Newsgroups gmane.comp.lib.boost.build
Message-ID <CABUeae_gsTx70KmNe2+wF3nb46y+77eJATUmH8EXifmsd9ySfw@mail.gmail.com>
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
_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build