Files
CHEN Feng 7b68301df9 thirdparty: migrate yaml-cpp to vcpkg (#185)
yaml-cpp 0.6.3 -> vcpkg 0.9.0. linkage=auto + link_all_symbols (whole-archive the static .a into the wrapper shared lib so it exports symbols -- the real cause of the convert_to_map "ABI" undefined). thirdparty-only.
2026-06-17 15:57:21 +08:00

18 lines
494 B
Python

# Thin wrapper over vcpkg yaml-cpp (see BLADE_ROOT vcpkg_config). Consumers keep
# depending on //thirdparty/yaml-cpp:yaml-cpp (or the :yaml_cpp compat alias).
cc_library(
name='yaml-cpp',
hdrs=[],
deps=['vcpkg#yaml-cpp:yaml-cpp'],
visibility='PUBLIC',
)
# For compatibility reasons (the underscore-named alias). Consumers include
# "yaml-cpp/yaml.h" via the dep, so no own hdrs.
cc_library(
name='yaml_cpp',
hdrs=[],
deps=[':yaml-cpp'],
visibility='PUBLIC',
)