[build2] Header-only library

Per Edin per.edin at peredin.com
Mon Apr 9 17:23:43 UTC 2018


Hi!

I'm working on a new C++ header-only library. Does build2/bpkg support such
projects? I couldn't find any examples in the documentation.

I know using a header-only library pretty much involves adding an include
dir, but I'd like to be able to do this for header-only libraries too:

b config.import.libhello=../libhello-1.1.0

That would automatically include dependencies of libhello, possibly
shared/static libraries but also other header-only libraries.

Regards,
Per Edin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.build2.org/archives/users/attachments/20180409/ba175dc7/attachment.html>


More information about the users mailing list