Add vendoring infrastructure and a couple of third party libraries#256
Merged
Conversation
The planned YAML/JSON config front-end needs a YAML parser. Since the legacy config will be phased out, we vendor RapidYAML as an always-built single-header library. Follows the Kitware third-party update convention (as used across VTK, ParaView, etc): thirdparty/update-common.sh is Kitware's shared import script and thirdparty/rapidyaml/update.sh is the per-package driver that re-imports the pinned release's amalgamation. Code from vendored libraries should NOT be updated by hand, but only using the update scripts.
Code extracted from:
https://github.com/biojppm/rapidyaml.git
at commit 85bfe56e32b1cfe715aa1c39885b1b10761e7482 (v0.15.2).
# By RapidYAML Upstream * upstream-rapidyaml: rapidyaml 2026-06-08 (85bfe56e)
Used only for unit testing framework that upcoming c++ improvements will use.
Code extracted from:
https://github.com/google/googletest.git
at commit 52eb8108c5bdec04579160ae17225d66034bd723 (v1.17.0).
# By Googletest Upstream * upstream-googletest: googletest 2025-04-30 (52eb8108)
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The upcoming yaml config format will require a new dependency. Since the legacy format will eventually be phased out, the new format will be required to be used. Instead of making users responsible for getting a required dependency, vendor it here. I added in the infrastructure that Kitware normally uses in repos (e.g., VTK, ParaView, etc) along with documentation describing it. I've started it off with RapidYAML and Google Test. Google test is being added to do unit testing which I have planned for some of the work I'm doing.