From 4a0568b8b884d954944c89b3c52b756a3d6c7dc9 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 18 Oct 2018 12:21:10 +0200 Subject: Add note to manual on creating binless libraries with bdep-new --- doc/manual.cli | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/manual.cli b/doc/manual.cli index 32c441e..6ea4208 100644 --- a/doc/manual.cli +++ b/doc/manual.cli @@ -2598,7 +2598,17 @@ rather a binary-less, or \i{binless} for short, static or shared library. So, theoretically, it is possible to have a library that has a binless static and a binary-full (\i{binfull}) shared variants. Note also that binless libraries can depend on binfull libraries and are fully supported where the -\c{pkg-config(1)} functionality is concerned.| +\c{pkg-config(1)} functionality is concerned. + +If you are creating a new library with \l{bdep-new(1)} and are certain that it +will always be binless and in all configurations, then you can produce a +simplified \c{buildfile} by specifying the \c{binless} option, for example: + +\ +$ bdep new -t lib -l c++,binless libheader-only +\ + +| Let's now turn to the second subject of this section and the last unexplained bit in our \c{buildfile}: shared library versioning. Here is the relevant -- cgit v1.1