Skip to content

[Feature]: Add vcpkg overlay port and prepare package publishing. #128

Closed

Description

@MisterVVP

Proposal

Goal

Add vcpkg support for a2a-cpp in two stages:

  1. Provide a custom vcpkg overlay port inside the repository so users can consume the SDK through local --overlay-ports / manifest-mode workflows.
  2. Prepare the package for future publishing to the official vcpkg registry.

Scope

Stage 1: Custom overlay port

Add a repository-local overlay port, for example:

vcpkg-overlay-ports/
  a2a-cpp/
    vcpkg.json
    portfile.cmake
    usage
    README.md

The overlay should:

  • Build a2a-cpp from the current repository source.
  • Disable tests, examples, and benchmarks for package builds.
  • Install exported CMake package files.
  • Preserve the existing downstream usage model:
find_package(a2a_cpp CONFIG REQUIRED)
target_link_libraries(my_app PRIVATE a2a::client a2a::server a2a::core)

Also add or update a small installed-package consumer example that demonstrates using the overlay with vcpkg manifest mode.

Stage 2: Prepare for registry publishing

Prepare the package for future submission to vcpkg registry by:

  • Switching from local/git overlay source pinning to release archive fetching.
  • Using a stable release tag.
  • Adding the required source archive hash.
  • Verifying package metadata: name, version, description, homepage, license, dependencies.
  • Confirming the package builds cleanly on supported platforms/triplets.
  • Keeping package behavior aligned with the existing CMake install/export setup.

Acceptance criteria

  • vcpkg install a2a-cpp --overlay-ports=./vcpkg-overlay-ports succeeds.
  • A consumer project can use find_package(a2a_cpp CONFIG REQUIRED).
  • The documented example builds through vcpkg overlay mode.
  • The overlay does not require tests, examples, benchmarks, or TCK to run during package installation.
  • The package metadata is ready to evolve into a future official vcpkg registry submission.

Activity

  1. moved this to In Progress in a2a-cpp SDK Roadmapon Jul 2, 2026
  2. added
    enhancement
    on Jul 2, 2026
  3. added a commit that references this issue on Jul 3, 2026
    25bb1de
  4. moved this from In Progress to Done in a2a-cpp SDK Roadmapon Jul 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions