Skip to content

update boost install to include natvis files #81

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

cmazakas
Copy link
Member

Probe the interfaces sources of a library target and manually patch the target's properties such that the natvis files are installed and probably linked against for downstream targets.

Partially closes boostorg/unordered#307

For pure CMake builds, it seems like natvis files aren't loaded into the solution unless the end-target has the natvis file as a source file, which is only possible when they're carried transitively as an interface source.

This code enforces the largely existing idiom of using extra/boost_<lib>.natvis but we can maybe massage the regex to be more accommodating of other libraries like JSON and URL.

Probe the interfaces sources of a library target and manually patch the
target's properties such that the natvis files are installed and
probably linked against for downstream targets.
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.

Natvis not picked up on vcpkg
1 participant