2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-16 01:12:13 +00:00

Support more quickbook options in boost build.

[SVN r66431]
This commit is contained in:
Daniel James
2010-11-07 14:45:43 +00:00
parent a04c0c6652
commit 5444f1c210

View File

@@ -121,6 +121,9 @@ type.register QUICKBOOK : qbk ;
# <quickbook-binary-dependencies> targets to build QuickBook from sources.
feature.feature <quickbook-binary> : : free ;
feature.feature <quickbook-binary-dependencies> : : free dependency ;
feature.feature <quickbook-define> : : free ;
feature.feature <quickbook-indent> : : free ;
feature.feature <quickbook-line-width> : : free ;
# quickbook-binary-generator handles generation of the QuickBook executable, by
@@ -297,6 +300,9 @@ generators.register [ new quickbook-binary-generator quickbook.quickbook-to-boos
toolset.flags quickbook.quickbook-to-boostbook QB-COMMAND <quickbook-binary> ;
toolset.flags quickbook.quickbook-to-boostbook QB-DEPENDENCIES <quickbook-binary-dependencies> ;
toolset.flags quickbook.quickbook-to-boostbook INCLUDES <include> ;
toolset.flags quickbook.quickbook-to-boostbook QB-DEFINES <quickbook-define> ;
toolset.flags quickbook.quickbook-to-boostbook QB-INDENT <quickbook-indent> ;
toolset.flags quickbook.quickbook-to-boostbook QB-LINE-WIDTH <quickbook-line-width> ;
rule quickbook-to-boostbook ( target : source : properties * )
@@ -309,7 +315,7 @@ rule quickbook-to-boostbook ( target : source : properties * )
actions quickbook-to-boostbook
{
"$(QB-COMMAND)" -I"$(INCLUDES)" --output-file="$(1)" "$(2)"
"$(QB-COMMAND)" -I"$(INCLUDES)" -D"$(QB-DEFINES)" --indent="$(QB-INDENT)" --linewidth="$(QB-LINE-WIDTH)" --output-file="$(1)" "$(2)"
}