• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#  (C) Copyright Edward Diener 2011,2019
2#  Use, modification and distribution are subject to the Boost Software License,
3#  Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
4#  http://www.boost.org/LICENSE_1_0.txt).
5#
6# TypeTraitsIntrospection documentation Jamfile
7#
8
9using quickbook ;
10using doxygen ;
11
12path-constant here : . ; # convenient to refer to files in the same directory as this jamfile.v2
13path-constant boost-images : $(BOOST_ROOT)/doc/src/images ;
14
15import modules ;
16
17if --enable-index in  [ modules.peek : ARGV ]
18{
19   ECHO "Building the tti docs with automatic index generation enabled." ;
20   using auto-index ;
21   project tti_doc : requirements
22             <auto-index>on
23             <auto-index-script>index.idx
24             <auto-index-prefix>../../../
25             <auto-index-verbose>on
26             <format>html:<auto-index-internal>on
27             <format>html:<xsl:param>generate.index=0
28             <format>pdf:<auto-index-internal>on
29             <format>pdf:<xsl:param>index.on.type=1
30             <quickbook-define>enable_index ;
31}
32else
33{
34   project tti_doc ;
35   ECHO "Building the tti docs with automatic index generation disabled. Try building with --enable-index." ;
36}
37
38doxygen tti_reference
39  :
40    $(here)/../../../boost/tti/has_class.hpp
41    $(here)/../../../boost/tti/has_data.hpp
42    $(here)/../../../boost/tti/has_enum.hpp
43    $(here)/../../../boost/tti/has_function.hpp
44    $(here)/../../../boost/tti/has_function_template.hpp
45    $(here)/../../../boost/tti/has_member_data.hpp
46    $(here)/../../../boost/tti/has_member_function.hpp
47    $(here)/../../../boost/tti/has_member_function_template.hpp
48    $(here)/../../../boost/tti/has_static_member_data.hpp
49    $(here)/../../../boost/tti/has_static_member_function.hpp
50    $(here)/../../../boost/tti/has_static_member_function_template.hpp
51    $(here)/../../../boost/tti/has_template.hpp
52    $(here)/../../../boost/tti/has_type.hpp
53    $(here)/../../../boost/tti/has_union.hpp
54    $(here)/../../../boost/tti/member_type.hpp
55    $(here)/../../../boost/tti/gen/has_class_gen.hpp
56    $(here)/../../../boost/tti/gen/has_data_gen.hpp
57    $(here)/../../../boost/tti/gen/has_enum_gen.hpp
58    $(here)/../../../boost/tti/gen/has_function_gen.hpp
59    $(here)/../../../boost/tti/gen/has_function_template_gen.hpp
60    $(here)/../../../boost/tti/gen/has_member_data_gen.hpp
61    $(here)/../../../boost/tti/gen/has_member_function_gen.hpp
62    $(here)/../../../boost/tti/gen/has_member_function_template_gen.hpp
63    $(here)/../../../boost/tti/gen/has_static_member_data_gen.hpp
64    $(here)/../../../boost/tti/gen/has_static_member_function_gen.hpp
65    $(here)/../../../boost/tti/gen/has_static_member_function_template_gen.hpp
66    $(here)/../../../boost/tti/gen/has_template_gen.hpp
67    $(here)/../../../boost/tti/gen/has_type_gen.hpp
68    $(here)/../../../boost/tti/gen/has_union_gen.hpp
69    $(here)/../../../boost/tti/gen/member_type_gen.hpp
70    $(here)/../../../boost/tti/gen/namespace_gen.hpp
71  :
72    <doxygen:param>PROJECT_NAME="TTI"
73    <doxygen:param>PROJECT_NUMBER=1
74    <doxygen:param>SORT_MEMBER_DOCS=NO
75    <doxygen:param>SHOW_INCLUDE_FILES=NO
76    <doxygen:param>MAX_INITIALIZER_LINES=0
77    <doxygen:param>VERBATIM_HEADERS=NO
78    <doxygen:param>PREDEFINED=BOOST_PP_VARIADICS
79    <reftitle>"Reference"
80;
81
82xml tti
83  :
84    tti.qbk
85  :
86    <dependency>tti_reference
87;
88
89boostbook standalone
90  :
91     tti
92  :
93  <xsl:param>boost.root="../../../.."
94  <xsl:param>chunk.section.depth=8  # How far down we chunk nested sections, basically all of them.
95  <xsl:param>toc.section.depth=8  # How far down sections get TOCs.
96  <xsl:param>toc.max.depth=4  # Max depth in each TOC.
97
98  # PDF Options:
99  # TOC Generation: this is needed for FOP-0.9 and later:
100  <xsl:param>fop1.extensions=0
101  <xsl:param>xep.extensions=1
102  # TOC generation: this is needed for FOP 0.2, but must not be set to zero for FOP-0.9!
103  <xsl:param>fop.extensions=0
104  # No indent on body text:
105  <xsl:param>body.start.indent=0pt
106  # Margin size:
107  <xsl:param>page.margin.inner=0.5in
108  # Margin size:
109  <xsl:param>page.margin.outer=0.5in
110  # Paper type = A4
111  <xsl:param>paper.type=A4
112  # Yes, we want graphics for admonishments:
113  <xsl:param>admon.graphics=1
114  # Set this one for PDF generation *only*:
115  # default pnd graphics are awful in PDF form,
116  # better use SVG's instead:
117  <format>pdf:<xsl:param>admon.graphics.extension=".svg"
118  <format>pdf:<xsl:param>admon.graphics.path=$(boost-images)/
119  ;
120
121install pdfinstall
122    : standalone
123    : <location>$(here) <install-type>PDF <name>TypeTraitsIntrospection.pdf
124    ;
125
126###############################################################################
127alias boostdoc ;
128explicit boostdoc ;
129alias boostrelease : standalone ;
130explicit boostrelease ;
131