Skip to content

Feature request: support VCPKG_BUILD_TYPE debug similarly to VCPKG_BUILD_TYPE release #2054

Description

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions