0

I'm using VC2015 with vcpkg with MSBuild integration. I have done:

.\vcpkg install cpprestsdk:x86-windows

Now my project is using dlls of cpprestsdk and its dependencies. Is it possible to use cpprestsdk dll and link to static libs of its dependencies?

user1633272
  • 2,007
  • 5
  • 25
  • 48

1 Answers1

0

You can modify the triplet file (triplets\x86-windows.cmake) or create a new one that specifies the precise combination of settings you'd like.

Source: https://github.com/Microsoft/vcpkg/blob/80f64c24dc0513b053f431059bc50634321702e7/docs/users/triplets.md#per-port-customization

roschuma
  • 536
  • 4
  • 7
  • Can the triplet be solution/project specific? in case another project wants different configuration. – user1633272 Jun 12 '18 at 15:27
  • In that case, it's easiest to have two separate vcpkg repos; though it's also possible to have two different triplets in the same repo. – roschuma Jun 13 '18 at 17:03