Jamfile.v2 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. # Copyright Daryle Walker, Hubert Holin, John Maddock 2006 - 2007
  2. # copyright Paul A. Bristow 2006 - 2010
  3. # Distributed under the Boost Software License, Version 1.0.
  4. # (See accompanying file LICENSE_1_0.txt or copy at
  5. # http://www.boost.org/LICENSE_1_0.txt.
  6. # \math_toolkit\libs\math\test\jamfile.v2
  7. # Runs all math toolkit tests, functions & distributions,
  8. # and build math examples.
  9. # bring in the rules for testing
  10. import testing ;
  11. import modules ;
  12. import path ;
  13. import pch ;
  14. using quickbook ;
  15. using auto-index ;
  16. path-constant images_location : html ;
  17. path-constant here : . ;
  18. lib pcre2-8 ;
  19. lib re2 ;
  20. exe has_pcre2 : config/pcre.cpp pcre2-8 : <include>third_party <dll-path>third_party <library-path>third_party release ;
  21. explicit has_pcre2 ;
  22. exe has_posix : config/posix.cpp : release ;
  23. explicit has_posix ;
  24. exe has_re2 : config/re2.cpp : release <source>re2 <include>third_party <dll-path>third_party <library-path>third_party ;
  25. explicit has_re2 ;
  26. run [ glob *.cpp ] /boost/regex//boost_regex /boost/system /boost/chrono /boost/filesystem
  27. : : :
  28. release
  29. [ check-target-builds has_pcre2 : <define>TEST_PCRE2 <source>pcre2-8 ]
  30. [ check-target-builds has_posix : <define>TEST_POSIX ]
  31. [ check-target-builds has_re2 : <define>TEST_RE2 <source>re2 <include>third_party <dll-path>third_party <library-path>third_party ]
  32. <include>third_party
  33. <dll-path>third_party
  34. <library-path>third_party
  35. : performance ;
  36. xml report : doc/report.qbk : <dependency>performance ;
  37. boostbook standalone
  38. :
  39. report
  40. :
  41. # Path for links to Boost:
  42. <xsl:param>boost.root=../../../..
  43. # Some general style settings:
  44. <xsl:param>table.footnote.number.format=1
  45. <xsl:param>footnote.number.format=1
  46. <xsl:param>html.stylesheet=../../../../doc/src/boostbook.css
  47. # HTML options first:
  48. # Use graphics not text for navigation:
  49. <xsl:param>navig.graphics=1
  50. # How far down we chunk nested sections, basically all of them:
  51. <xsl:param>chunk.section.depth=0
  52. # Don't put the first section on the same page as the TOC:
  53. <xsl:param>chunk.first.sections=0
  54. # How far down sections get TOC's
  55. <xsl:param>toc.section.depth=2
  56. # Max depth in each TOC:
  57. <xsl:param>toc.max.depth=4
  58. # How far down we go with TOC's
  59. <xsl:param>generate.section.toc.level=10
  60. ;