C++ Logo


Advanced search

Re: [SG15] RFC: Requirements to consume a prebuilt library from arbitrary build systems

From: Gamblin, Todd <gamblin2_at_[hidden]>
Date: Wed, 27 Oct 2021 19:31:43 +0000
I don’t think this is a borderline topic if you really want people to use packages that are prebuilt and, say, installed on a system. People don’t consume “libraries” — they consume *packages* as installed by the packages’ maintainers. In many cases that may include programs that need to be exec’d either by the client code or by the package, at build or runtime. Similarly there are libraries out there that aren’t usable without associated data.

One example of such a library would be SWIG (https://github.com/swig/swig). It generates C and C++ bindings for higher level languages. There are lots of code generators like this.


On Oct 27, 2021, at 12:24 PM, Daniel Ruoso via SG15 <sg15_at_[hidden]<mailto:sg15_at_[hidden]>> wrote:

On Wed, Oct 27, 2021, 12:06 Ben Craig <ben.craig_at_[hidden]<mailto:ben.craig_at_[hidden]>> wrote:
How do I invoke your code generator (like with gRPC, Apache Thrift, Microsoft RPC, QT)? How do I deal with dependencies with your code generator?

That's an interesting borderline topic.

There's a line to be drawn between consuming libraries and describing how tools are used.

I'd be interested to learn more about the scenario where this comes in the context of a prebuilt library dependency.
SG15 mailing list

Received on 2021-10-27 14:31:48