Skip to content

[question] Support for Boost components, like Vcpkg has #24718

@wouterbeek

Description

@wouterbeek

What is your question?

In Conan2, all of Boost must be pulled in, even though most users only need one or two components. If no precompiled version is available, this moreover means that all of Boost's source code is downloaded, and all of Boost's source code is built locally, even though only one components is used.

Boost has support for components, which can for example be expressed in CMake in the following way ("only use Boost Spirit"):

find_package(Boost REQUIRED COMPONENTS spirit)

Vcpkg supports this, since it delivers all of Boost, in addition to each component of Boost (e.g. "boost-spirit" for the above example).

Can Conan2 do this as well? If so, how does this work? If so, why is this not advertised in Conan Center, on the Boost page?

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions