Continuation of microsoft/vcpkg#52690 and microsoft/vcpkg#52690 (comment).
It would be great if VCPKG_BUILD_TYPE debug was supported in triplets to build only debug binaries, main use case is CI pipelines where a single worker only builds a single type. Currently, config files are installed into nested debug folders which are removed by ports expecting them to be mirrored from release builds but release is never built so the configs do not exist after port completes.
Instead if VCPKG_BUILD_TYPE is explicitly set to debug (or any non-empty value in general case), config files and binaries could be installed directly into root directories mirroring current release behaviour which works. This would not require changes to ports themselves, however post build validation would need to accept debug binaries in the root directory.
Continuation of microsoft/vcpkg#52690 and microsoft/vcpkg#52690 (comment).
It would be great if
VCPKG_BUILD_TYPE debugwas supported in triplets to build only debug binaries, main use case is CI pipelines where a single worker only builds a single type. Currently, config files are installed into nesteddebugfolders which are removed by ports expecting them to be mirrored from release builds but release is never built so the configs do not exist after port completes.Instead if
VCPKG_BUILD_TYPEis explicitly set todebug(or any non-empty value in general case), config files and binaries could be installed directly into root directories mirroring currentreleasebehaviour which works. This would not require changes to ports themselves, however post build validation would need to accept debug binaries in the root directory.