[build2] How to setup a header-only library package

Klaim - Joël Lamotte mjklaim at gmail.com
Fri Dec 22 13:13:56 UTC 2017


On 22 December 2017 at 13:57, Boris Kolpackov <boris at codesynthesis.com>
wrote:

> Klaim - Joėl Lamotte <mjklaim at gmail.com> writes:
>
> > I am trying to make a package of a small header-only library
> > but fail to find how to set it up so that it have a target name
> > to make headers available to the user targets.
>
> This is not yet figured out/implemented (along with module-only
> libraries). It is pretty high on our TODO list thought.
>
> In the meantime, as a workaround, you can add a dummy source file.
>
> Boris
>

Noted. I should have figured that workaround myself!

What is missing with module-only library? I didn't see any problem so far.

A. Joël Lamotte
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.build2.org/archives/users/attachments/20171222/e2a847b7/attachment.html>


More information about the users mailing list