jamfile.v2 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. # Boost.Pool library documentation Jamfile.v2
  2. #
  3. # Copyright Paul A. Bristow 2011. Use, modification and
  4. # distribution is subject to the Boost Software License, Version
  5. # 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  6. # http://www.boost.org/LICENSE_1_0.txt)
  7. #
  8. # See http://www.boost.org for updates, documentation, and revision history.
  9. local BOOST = $(BOOST_ROOT) ;
  10. BOOST ?= [ modules.peek : BOOST_ROOT ] ;
  11. BOOST ?= [ modules.peek : BOOST ] ;
  12. path-constant boost-root : $(BOOST) ;
  13. path-constant images_location : images ; # location of SVG and PNG images referenced by Quickbook.
  14. import modules ;
  15. using doxygen ; # Required if you want to use Doxygen.
  16. using quickbook ;
  17. doxygen autodoc
  18. :
  19. [ glob ../../../boost/pool/*.hpp ]
  20. #[ glob ../../../boost/pool/detail/*.hpp ]
  21. #[ glob ../../../boost/pool/detail/*.ipp ]
  22. # Renamed as .inc are not recognised correctly by doxywizard leaving error message.
  23. # Warning: include file boost/pool/detail/pool_construct.inc not found, perhaps you forgot to add its directory to INCLUDE_PATH?
  24. # and problem with 'no type' in jamfile.
  25. # error: target { ../../../boost/pool/detail/pool_construct.inc. } has no type
  26. #[ glob ../../../boost/pool/examples/*.*pp ] # Example source files.
  27. :
  28. <doxygen:param>WARNINGS=YES # Default NO, but useful to see warnings, especially in a logfile.
  29. # It is also wise to to set a warnings logfile like this:
  30. <doxygen:param>WARN_LOGFILE=AutoDoxywarnings.log # This may not be empty (usually not a good sign!), depending on options chosen.
  31. # Much better to send message to a logfile than the default stderr.
  32. # and make sure that there are no Doxygen errors or significant warnings in the log file.
  33. <doxygen:param>RECURSIVE=NO # Search recursively down subdirectories.
  34. <doxygen:param>EXTRACT_ALL=NO
  35. <doxygen:param>HIDE_UNDOC_MEMBERS=YES
  36. <doxygen:param>EXTRACT_PRIVATE=NO
  37. <doxygen:param>MACRO_EXPANSION=YES
  38. <doxygen:param>EXPAND_ONLY_PREDEF=YES
  39. <doxygen:param>PREDEFINED="\"BOOST_PREVENT_MACRO_SUBSTITUTION=\" \"BOOST_STATIC_CONSTANT(t,v)=static const t v\" \"BOOST_DOXYGEN=1\""
  40. <xsl:param>"boost.doxygen.reftitle=Boost.Pool C++ Reference"
  41. ;
  42. xml pool : pool.qbk : <include>$(boost-root)/tools/auto_index/include ;
  43. boostbook standalone
  44. :
  45. pool
  46. :
  47. # General settings
  48. # =================
  49. # Options for html and pdf
  50. # ========================
  51. # No indent on body text:
  52. <xsl:param>body.start.indent=0pt
  53. # Margin size:
  54. <xsl:param>page.margin.inner=0.5in
  55. # Margin size:
  56. <xsl:param>page.margin.outer=0.5in
  57. # Yes, we want graphics for admonishments:
  58. <xsl:param>admon.graphics=1
  59. # Path for links to Boost:
  60. <xsl:param>boost.root=../../../..
  61. # HTML options:
  62. # =============
  63. # Use graphics icons not text for navigation:
  64. <xsl:param>navig.graphics=1
  65. # How far down we chunk nested sections, basically all of them:
  66. <xsl:param>chunk.section.depth=2
  67. # Don't put the first section on the same page as the TOC itself:
  68. <xsl:param>chunk.first.sections=1
  69. # How far down sections get TOC's
  70. <xsl:param>toc.section.depth=4
  71. # Max depth in each TOC:
  72. <xsl:param>toc.max.depth=2
  73. # How far down we go with TOC's
  74. <xsl:param>generate.section.toc.level=10
  75. # Horizontal ? spacing in table cells.
  76. <format>html:<xsl:param>html.cellspacing=3 # pixels
  77. # Vertical spacing in table cells.
  78. <format>html:<xsl:param>html.cellpadding=5 # pixels
  79. <format>html:<xsl:param>boost.max.id.part.length=40
  80. <format>html:<xsl:param>img.src.path=../images/
  81. # PDF Options:
  82. # ============
  83. # TOC Generation: this is needed for FOP-0.9 and later:
  84. <format>pdf:<xsl:param>fop1.extensions=0
  85. # Or enable this if you're using XEP:
  86. <format>pdf:<xsl:param>xep.extensions=1
  87. # TOC generation: this is needed for FOP 0.2, but must not be set to zero for FOP-0.9!
  88. <format>pdf:<xsl:param>fop.extensions=0
  89. # No indent on body text:
  90. <xsl:param>body.start.indent=0pt
  91. # Margin size:
  92. <xsl:param>page.margin.inner=0.5in
  93. # Margin size:
  94. <xsl:param>page.margin.outer=0.5in
  95. # Yes, we want graphics for admonishments:
  96. <xsl:param>admon.graphics=1
  97. # Set these one for PDF generation *only*:
  98. # default png graphics are awful in PDF form,
  99. # better use SVG instead:
  100. <format>pdf:<xsl:param>admon.graphics.extension=".svg"
  101. #<format>pdf:<xsl:param>admon.graphics.extension=".png" # Only png images are available.
  102. <format>pdf:<xsl:param>use.role.for.mediaobject=1
  103. <format>pdf:<xsl:param>preferred.mediaobject.role=print
  104. <format>pdf:<xsl:param>img.src.path=$(images_location)/ # graphics (diagrams) for pdf.
  105. <format>pdf:<xsl:param>draft.mode="no"
  106. <format>pdf:<xsl:param>boost.url.prefix=I:/boost-sandbox/guild/pool/libs/pool/doc/html
  107. # <auto-index>on turns on index (or off).
  108. <auto-index>on
  109. <auto-index-verbose>on
  110. # Choose indexing method (separately for html and pdf):
  111. <format>html:<auto-index-internal>on # on (or off) to use internally generated indexes.
  112. # <format>html:<xsl:param>generate.index=0 # Don't let the XSL stylesheets generate indexes.
  113. <format>pdf:<auto-index-internal>off # on (or off) to use internally generated indexes.
  114. # <auto-index-type>index # Use <index>...</index> as the XML wrapper.
  115. <format>pdf:<xsl:param>index.on.type=1 # For the native stylesheets to generate the different indexes.
  116. # PDF native index support is probably better for PDFs as then you actually get page numbers.
  117. <auto-index-script>index.idx # Specifies the name of the script to load.
  118. # <auto-index-prefix>../../../ # Path to /pool so index.idx !scan-path can use boost/ and libs/doc.
  119. <auto-index-prefix>../../..
  120. <dependency>autodoc #
  121. ;
  122. install pdfinstall : standalone/<format>pdf : <location>. <install-type>PDF <name>pool.pdf ;
  123. explicit pdfinstall ;
  124. ###############################################################################
  125. alias boostdoc ;
  126. explicit boostdoc ;
  127. alias boostrelease : standalone ;
  128. explicit boostrelease ;