From 9396ede927da154b415c8ae550e01c7b1da06d7a Mon Sep 17 00:00:00 2001 From: Edward Diener Date: Mon, 5 Dec 2016 13:13:25 -0500 Subject: [PATCH] Added doc for bzip2 toolset --- doc/src/reference.xml | 77 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) diff --git a/doc/src/reference.xml b/doc/src/reference.xml index 7e4c4ec86..b46cea063 100644 --- a/doc/src/reference.xml +++ b/doc/src/reference.xml @@ -1698,6 +1698,83 @@ using zlib : 1.2.7 : : <toolset>gcc ; +
+ bzip2 + bzip2 + + Provides support for the + bzip2 library. bzip2 + can be configured either to use precompiled binaries or to + build the library from source. + + bzip2 can be initialized using the following syntax + +using bzip2 : version : options : condition : is-default ; + + Options for using a prebuilt library: + + + search + + The directory containing the bzip2 binaries. + + + + name + + Overrides the default library name. + + + + include + + The directory containing the bzip2 headers. + + + + If none of these options is specified, then the environmental + variables BZIP2_LIBRARY_PATH, BZIP2_NAME, and BZIP2_INCLUDE will be + used instead. + Options for building bzip2 from source: + + + source + + The bzip2 source directory. Defaults to the + environmental variable BZIP2_SOURCE. + + + + tag + + Sets the tag + property to adjust the file name of the library. Ignored + when using precompiled binaries. + + + + build-name + + The base name to use for the compiled library. + Ignored when using precompiled binaries. + + + + Examples: + +# Find bzip in the default system location +using bzip2 ; +# Build bzip from source +using bzip2 : 1.0.6 : <source>/home/sergey/src/bzip2-1.0.6 ; +# Find bzip in /usr/local +using bzip2 : 1.0.6 : <include>/usr/local/include <search>/usr/local/lib ; +# Build bzip from source for msvc and find +# prebuilt binaries for gcc. +using bzip2 : 1.0.6 : <source>C:/Devel/src/bzip2-1.0.6 : <toolset>msvc ; +using bzip2 : 1.0.6 : : <toolset>gcc ; + +
+