Skip to content

BOOST_MP_STANDALONE issue #690

@andreygorbachev

Description

@andreygorbachev

I am trying to use multiprecision in the standalone mode (with cmake and FetchContent), so in my CMakeLists.txt I have:

include(FetchContent)

set(BOOST_INCLUDE_LIBRARIES multiprecision)
set(BOOST_MP_STANDALONE TRUE)

FetchContent_Declare(
Boost
GIT_REPOSITORY https://github.com/boostorg/boost.git
GIT_TAG boost-1.88.0
)
FetchContent_MakeAvailable(Boost)

Reading your README.md I see that "Defining BOOST_MP_STANDALONE allows Boost.Multiprecision to be used with the only dependency being Boost.Config.".

But the generated .sln file (I use Visual Studio) shows boost_assert, boost_container, boost_core, boost_math, boost_random, boost_system and boost_variant2 - is this expected? (feels like more than just the Boost.Config dependency, but apologies if I misunderstood Boost.Config).

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions