Comments (2)
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.
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)
- external_cflags prefix all other flags HOT 1
- Support plugins explicitly loaded at runtime HOT 6
- Support plugins automatically loaded at runtime HOT 2
- Provide a -D flag specifying plugin type HOT 1
- Support for Objective-C and C++ source files HOT 1
- Support for CXXFLAGS HOT 1
- don't try to build tests for components that have no test driver HOT 1
- Support standalone packages HOT 1
- All dependencies are rebuilt whenever I generate a new ninja.build file. HOT 2
- Handle spaces in roots HOT 1
- Distinguish between internal and external cflags HOT 3
- Solve the issue of multiple kinds of targets HOT 4
- 'ldflags' may be re-ordered across multiple invocations of the 'ninja' mode HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bdemeta.