Giter Club home page Giter Club logo

Comments (2)

cppguru avatar cppguru commented on June 29, 2024

Same as for the dynamic one. The code linking the plugin in is not the
user. As it has no specific dependencies whatsoever to the plugin at all.
It's a third piece of code that uses the plugin, and that code should be
able to require the headers without creating a link time dependency. Why?
Because the user must not be aware if the module is dynamic or static.

On Mon, Feb 2, 2015 at 2:45 AM, Masud Rahman [email protected]
wrote:

A plugin available at link time is a static library that is provided as a
link-time dependency of some other code. This other code may then freely
use functions from the library as long the name of the exported symbols are
known (e.g. through header files).

The code may also then be deployed without any further requirements. This
stands in contrast to #13 #13,
which requires the using code and the shared library to be deployed
together.

This would implement option (3) from #7
#7.


Reply to this email directly or view it on GitHub
#14.

from bdemeta.

frutiger avatar frutiger commented on June 29, 2024

All generated libraries have unspecified CMake library type; so static vs. dynamic libraries can be specified at CMake generation time using the BUILD_SHARED_LIBS flag. Either type of library can be linked to at link time.

from bdemeta.

Related Issues (14)

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.