Skip to content

CoolProp/boost-headers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

boost-headers

A minimal subset of Boost headers used by CoolProp and related projects (teqp, superancillary). Extracted with Boost's bcp tool so that consumers don't have to vendor the full Boost distribution.

Pin via CPM:

CPMAddPackage(
  NAME boost_headers
  GIT_REPOSITORY https://github.com/CoolProp/boost-headers.git
  GIT_TAG        <sha-or-tag>
  DOWNLOAD_ONLY  YES
)
include_directories("${boost_headers_SOURCE_DIR}")

What's included

The bcp header list lives in Dockerfile. Current set covers:

  • boost::math::tools::toms748_solve + eps_tolerance (root finding)
  • boost::numeric::odeint (ODE integration)
  • boost::variant, boost::optional, boost::operators
  • boost::utility::string_ref / string_view
  • Supporting boost::fusion, boost::mpl, boost::preprocessor, boost::predef

Regenerating

Requires Docker.

docker compose up --build
rm -rf boost && tar -xJf boost.tar.xz

unpacks a fresh boost/ tree at the repo root. Commit the result and tag a new release; downstream projects bump their CPM GIT_TAG to pick it up.

To add new headers, append them to the bcp invocation in Dockerfile and regenerate. bcp pulls in transitive dependencies automatically.

Boost version

Currently pinned to 1.87.0 (see ARG BOOST_VERSION in Dockerfile). Bump the arg and regenerate to upgrade.

License

The headers under boost/ are distributed under the Boost Software License 1.0, a copy of which is provided in LICENSE. The Dockerfile, docker-compose.yml, and this README.md are contributed to the public domain.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages