Giter Site home page Giter Site logo

Comments (5)

jpfeuffer avatar jpfeuffer commented on June 12, 2024

Sorry, I just saw that I confused OFF with not set, or overlooked the "third option" of not setting the variable. Let me reevaluate.

from boost_install.

jpfeuffer avatar jpfeuffer commented on June 12, 2024

Ok so ignore point b) but the rest of the issue still stands:

  • Why deviate from the FindModule for the same variable?
  • How to look for both, either shared or static? (Without triggering two searches where one will unnecessarily clutter the CMake configuration logs.)

from boost_install.

jpfeuffer avatar jpfeuffer commented on June 12, 2024

IMHO the behaviour should be at least:

(changes in bold)

Boost_USE_STATIC_LIBS: When ON, uses static Boost libraries; when OFF,
uses shared Boost libraries; when not set, PREFERS
static on Windows, shared otherwise but accepts both.

Or just follow the behaviour from the FindModule.

from boost_install.

pdimov avatar pdimov commented on June 12, 2024

Our generated config files don't have the ability to accept both static and shared. It needs to be chosen beforehand. That's why we don't match the FindBoost behavior.

from boost_install.

jpfeuffer avatar jpfeuffer commented on June 12, 2024

I see. Is this a general limitation of how boost is designed or was it "just not implemented yet"? If it's a limitation, can you very shortly elaborate on the problem?

In general I think CMake config files can support that.

from boost_install.

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.