Jamfile.v2 4.0 KB

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