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

Boris Kolpackov boris at codesynthesis.com
Fri Dec 22 12:57:20 UTC 2017


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



More information about the users mailing list