summaryrefslogtreecommitdiffstats
path: root/src/boost/libs/regex/performance/Jamfile.v2
blob: 63dfee348ee0f346f09b991cf40f24bffd140f93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# Copyright Daryle Walker, Hubert Holin, John Maddock 2006 - 2007
# copyright Paul A. Bristow 2006 - 2010
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt.
# \math_toolkit\libs\math\test\jamfile.v2
# Runs all math toolkit tests, functions & distributions,
# and build math examples.

# bring in the rules for testing
import testing ;
import modules ;
import path ;
import pch ;
using quickbook ;
using auto-index ;

path-constant images_location : html ;
path-constant here : . ;

lib pcre2-8 ;
lib re2 ;

exe has_pcre2 : config/pcre.cpp pcre2-8 : <include>third_party <dll-path>third_party <library-path>third_party release ;
explicit has_pcre2 ;
exe has_posix : config/posix.cpp : release ;
explicit has_posix ;
exe has_re2 : config/re2.cpp : release <source>re2 <include>third_party <dll-path>third_party <library-path>third_party ;
explicit has_re2 ;

run [ glob *.cpp ] /boost/regex//boost_regex /boost/system /boost/chrono /boost/filesystem
     : : : 
     release 
     [ check-target-builds has_pcre2 : <define>TEST_PCRE2 <source>pcre2-8  ] 
     [ check-target-builds has_posix : <define>TEST_POSIX ]
     [ check-target-builds has_re2 : <define>TEST_RE2 <source>re2 <include>third_party <dll-path>third_party <library-path>third_party  ]
     <include>third_party 
     <dll-path>third_party 
     <library-path>third_party 
     : performance ;


xml report : doc/report.qbk : <dependency>performance ;
boostbook standalone
    :
        report
    :
        # Path for links to Boost:
        <xsl:param>boost.root=../../../..
        
        # Some general style settings:
        <xsl:param>table.footnote.number.format=1
        <xsl:param>footnote.number.format=1
        <xsl:param>html.stylesheet=../../../../doc/src/boostbook.css

        # HTML options first:
        # Use graphics not text for navigation:
        <xsl:param>navig.graphics=1
        # How far down we chunk nested sections, basically all of them:
        <xsl:param>chunk.section.depth=0
        # Don't put the first section on the same page as the TOC:
        <xsl:param>chunk.first.sections=0
        # How far down sections get TOC's
        <xsl:param>toc.section.depth=2
        # Max depth in each TOC:
        <xsl:param>toc.max.depth=4
        # How far down we go with TOC's
        <xsl:param>generate.section.toc.level=10
    ;