Boost logo

Boost :

From: Sreeraj K (sreerajmylatty_at_[hidden])
Date: 2021-09-06 10:03:41


*[I initialially raised this question in
https://github.com/boostorg/boost/issues/548
<https://github.com/boostorg/boost/issues/548>, but @mclaw recommended this
mailing list.]*

Similar to many other packages (eg: curl, krb5, pcre, xml2, xslt etc..),
can we also ship boost-config that would provide the installation options ?

We can probably start with something like this ?

$ /usr/bin/boost-config --help
Usage: boost-config [ options ]

Options:
  --cflags print compiler options
  --ldflags print linker options
  --prefix print the boost prefix
  --version print the boost version
  --help print this usage summary

$ /usr/bin/boost-config --version
1.66.0
$ /usr/bin/boost-config --cflags
-I/usr/include
$ /usr/bin/boost-config --ldflags
-L/usr/lib64 -Wl,-R/usr/lib64

Thanks.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk