terminal/oss
Dustin L. Howett 3c5800f575
Move our big OSS dependencies to vcpkg (#15855)
This pull request removes the following vendored open source, in favor
of getting it from vcpkg:

- CLI11 2.4
- jsoncpp 1.9
- fmt 7.1.3
- gsl 3.1 (not vendored, but submoduled--arguably worse!)

Now that Visual Studio 2022 includes a built-in workload for vcpkg, the
onboarding process is much smoother. Terminal should only require the
vcpkg workload.

I've added some build rules that detect vcpkg via VS and via the user's
environment before falling back to a location in the source tree. The CI
pipeline will fall back to installing and bootstrapping vcpkg in
dep/vcpkg if necessary.

Some OSS has not been (and will not be) migrated:

- wyhash: ours is included directly in til/hash
- pcg_random: we have a stripped down copy compared to vcpkg
- stb_rect: vcpkg only ships *all of STB*; ours is a stripped down copy
- chromium numerics: vcpkg does not ship Chromium, especially not this
  tiny fraction of Chromium
- dynamic_bitset and libpopcnt: removing in #17510
- interval_tree: no vcpkg equivalent

To support the needs of the inbox Windows build, I've split up our vcpkg
manifest into dependencies for all projects and dependencies just for
Terminal. To support this, we now offer a `terminal` feature. The vcpkg
rules in `common.build.pre.props` are set up to turn it on, whereas the
build rules we eventually write for the OS will not be.

Most of the work is concentrated in `common.build.pre.props`.
2024-07-19 11:29:37 -07:00
..
chromium Add `$schema` to `cgmanifest.json` (#13887) 2022-08-31 17:31:24 +00:00
dynamic_bitset Add `$schema` to `cgmanifest.json` (#13887) 2022-08-31 17:31:24 +00:00
interval_tree Update IntervalTree.h dependency (#14148) 2022-10-06 23:42:20 +00:00
libpopcnt Merged PR 8188601: [Git2Git] !8082133: LKG14 Build Fix - ARM64EC does not support AVX 2022-11-29 13:35:00 -06:00
pcg Add `$schema` to `cgmanifest.json` (#13887) 2022-08-31 17:31:24 +00:00
stb Rewrite AtlasEngine to allow arbitrary overhangs (#14959) 2023-04-26 12:02:51 +00:00
wyhash Add `$schema` to `cgmanifest.json` (#13887) 2022-08-31 17:31:24 +00:00
xorg_apps_rgb Add `$schema` to `cgmanifest.json` (#13887) 2022-08-31 17:31:24 +00:00
README.md

README.md

Component-Governance-tracked OSS dependencies

This directory contains mirrored open-source projects that are used by the console host and Windows Terminal. Code in this directory will be replicated into the Windows OS repository.

All projects in this directory must bear Component Governance Manifests (cgmanifest.json files) indicating their provenance.