Giter Site home page Giter Site logo

Comments (1)

pfultz2 avatar pfultz2 commented on June 27, 2024

ex to install boost chrono package. I have the following in my requirements.txt

The boost cmake is designed to install boost using boost's build system(which needs a jam file). If boost build is not installed it will run boostrap script(which is provided by the boost's superproject) to build and install b2.

I am not sure if what i am trying to do is the intended way to use cmake for boost, but installing individual packages is what i wanted, can we have support for installing individual boost lib's.

In general, boost does not support installing individual libraries standalone, and instead relies on the top-level jam file for building. Thus the only way to install boost is to use the superproject or the official tarball releases here with cget install -X boost https://dl.bintray.com/boostorg/release/1.69.0/source/boost_1_69_0.tar.gz -DBOOST_WITH_CHRONO=1.

There are some boost libraries that support installing standalone with cmake like Boost.HOF or Boost.Hana(ie you can install with cget install boostorg/hana).

Alternatively, for header-only libraries, they can be installed using cget install boostorg/config -X header, although you will need to track down the dependencies. Unfortunately, this won't work for libraries that require building such as Boost.Filesystem, etc.

Of course, boost will need to get rid of their cycles so it can support such modular installation in the future.

from cget.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.