boostorg / boostorg/multiprecision

BOOST_MP_STANDALONE issue

Open
#690 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
265
Forks
128
Avg merge
4h 48m
Merged PRs (30d)
2

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.