Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_34_1/libs/regex/performance/Jamfile.v2 @ 47

Last change on this file since 47 was 29, checked in by landauf, 17 years ago

updated boost from 1_33_1 to 1_34_1

File size: 1.4 KB
Line 
1# copyright John Maddock 2003
2# Distributed under the Boost Software License, Version 1.0.
3# (See accompanying file LICENSE_1_0.txt or copy at
4# http://www.boost.org/LICENSE_1_0.txt.
5
6SOURCES = command_line main time_boost time_greta time_localised_boost time_pcre time_dynamic_xpressive time_posix time_safe_greta ;
7
8local HS_REGEX_PATH = [ modules.peek : HS_REGEX_PATH ] ;
9local USE_POSIX = [ modules.peek : USE_POSIX ] ;
10local PCRE_PATH = [ modules.peek : PCRE_PATH ] ;
11local USE_PCRE = [ modules.peek : USE_PCRE ] ;
12
13if $(HS_REGEX_PATH)
14{
15   HS_SOURCES = $(HS_REGEX_PATH)/regcomp.c $(HS_REGEX_PATH)/regerror.c $(HS_REGEX_PATH)/regexec.c $(HS_REGEX_PATH)/regfree.c ;
16   POSIX_OPTS = <define>BOOST_HAS_POSIX=1 <include>$(HS_REGEX_PATH) ;
17}
18else if $(USE_POSIX)
19{
20   POSIX_OPTS = <define>BOOST_HAS_POSIX=1 ;
21}
22
23lib pcre : : <name>pcre ;
24
25if $(PCRE_PATH)
26{
27   PCRE_SOURCES = $(PCRE_PATH)/chartables.c $(PCRE_PATH)/get.c $(PCRE_PATH)/pcre.c $(PCRE_PATH)/study.c ;
28   PCRE_OPTS = <define>BOOST_HAS_PCRE=1 <include>$(PCRE_PATH) ;
29}
30else if $(USE_PCRE)
31{
32   PCRE_OPTS = <define>BOOST_HAS_PCRE=1 ;
33   PCRE_SOURCES = pcre ;
34}
35
36
37exe regex_comparison :
38    $(SOURCES).cpp
39    $(HS_SOURCES)
40    $(PCRE_SOURCES)
41    ../build//boost_regex
42    ../../test/build//boost_prg_exec_monitor/<link>static
43    :
44    <define>BOOST_REGEX_NO_LIB=1
45    <define>BOOST_REGEX_STATIC_LINK=1
46    $(POSIX_OPTS)
47    $(PCRE_OPTS)
48    ;
49
50
51
52
53
54
55
Note: See TracBrowser for help on using the repository browser.