mirror of
https://github.com/Tencent/flare.git
synced 2026-10-29 04:56:30 +08:00
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.
18 lines
494 B
Python
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',
|
|
)
|