Lets say I'm using vcpkg and I want to install a package as static no matter the platform
I know I can do it with a triple like wxwidgets:x86-windows-static
however, how can I say "make it static for every platform"?
Lets say I'm using vcpkg and I want to install a package as static no matter the platform
I know I can do it with a triple like wxwidgets:x86-windows-static
however, how can I say "make it static for every platform"?
You want to read https://github.com/microsoft/vcpkg/blob/master/docs/users/triplets.md.
The triplet variable you are looking for is VCPKG_LIBRARY_LINKAGE. Setting it to static in a triplet makes every library/port - which supports it - build as a static library.