Skip to content

Vendor vcpkg as a cross-platform submodule#26

Merged
svnscha merged 9 commits into
mainfrom
task/vcpkg-submodule-cross-platform
May 26, 2026
Merged

Vendor vcpkg as a cross-platform submodule#26
svnscha merged 9 commits into
mainfrom
task/vcpkg-submodule-cross-platform

Conversation

@svnscha
Copy link
Copy Markdown
Owner

@svnscha svnscha commented May 26, 2026

Summary

  • vendor vcpkg as a tracked repository submodule pinned to the existing baseline commit
  • make the build, devcontainer, and GitHub workflows use the vendored ./vcpkg path by default
  • update contributor docs and task tracking for the new clone, bootstrap, and maintenance flow

Changes

  • add .gitmodules and track vcpkg as a submodule instead of ignoring it
  • simplify CMakeLists.txt to require the vendored toolchain and drop fallback discovery paths
  • update .devcontainer/setup-vcpkg.sh and devcontainer setup to initialize and bootstrap the submodule
  • switch CI and dependabot validation workflows to checkout submodules rather than separately cloning microsoft/vcpkg
  • rewrite README.md and docs/usage.md for submodule-first setup on Windows, macOS, and Linux
  • record the implementation and validation state in .tasks/vcpkg-submodule-cross-platform.md

Validation

  • bootstrapped the vendored submodule with .devcontainer/setup-vcpkg.sh
  • ran cmake -S . -B build -G Ninja
  • ran cmake --build build --config Release --target yaaf libyaaf_tests
  • ran ctest --test-dir build --output-on-failure -L default
  • verified a fresh clone flow with git clone --recurse-submodules, bootstrap, configure, and build

Notes

  • the local task file still tracks the Linux musl / hosted CI execution item for CI to confirm in the PR

svnscha and others added 9 commits May 26, 2026 13:34
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
# Conflicts:
#	.tasks/vcpkg-submodule-cross-platform.md
@svnscha svnscha merged commit be9e39b into main May 26, 2026
7 checks passed
@svnscha svnscha deleted the task/vcpkg-submodule-cross-platform branch May 26, 2026 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant