Files
boost_regex/performance/Jamfile

46 lines
1.1 KiB
Plaintext
Raw Normal View History

# copyright John Maddock 2003
2003-05-17 11:55:51 +00:00
subproject libs/regex/performance ;
SOURCES = command_line main time_boost time_greta time_localised_boost time_pcre time_dynamic_xpressive time_posix time_safe_greta ;
2003-05-17 11:55:51 +00:00
if $(HS_REGEX_PATH)
{
2003-11-30 13:06:58 +00:00
HS_SOURCES = $(HS_REGEX_PATH)/regcomp.c $(HS_REGEX_PATH)/regerror.c $(HS_REGEX_PATH)/regexec.c $(HS_REGEX_PATH)/regfree.c ;
POSIX_OPTS = <define>BOOST_HAS_POSIX=1 <include>$(HS_REGEX_PATH) ;
2003-05-17 11:55:51 +00:00
}
else if $(USE_POSIX)
{
2003-11-30 13:06:58 +00:00
POSIX_OPTS = <define>BOOST_HAS_POSIX=1 ;
2003-05-17 11:55:51 +00:00
}
if $(PCRE_PATH)
{
2003-11-30 13:06:58 +00:00
PCRE_SOURCES = $(PCRE_PATH)/chartables.c $(PCRE_PATH)/get.c $(PCRE_PATH)/pcre.c $(PCRE_PATH)/study.c ;
PCRE_OPTS = <define>BOOST_HAS_PCRE=1 <include>$(PCRE_PATH) ;
2003-05-17 11:55:51 +00:00
}
else if $(USE_PCRE)
{
2003-11-30 13:06:58 +00:00
PCRE_OPTS = <define>BOOST_HAS_PCRE=1 <find-library>pcre ;
2003-05-17 11:55:51 +00:00
}
exe regex_comparison :
$(SOURCES).cpp
$(HS_SOURCES)
$(PCRE_SOURCES)
<lib>../build/boost_regex
<lib>../../test/build/boost_prg_exec_monitor
:
<include>$(BOOST_ROOT)
<define>BOOST_REGEX_NO_LIB=1
<define>BOOST_REGEX_STATIC_LINK=1
$(POSIX_OPTS)
$(PCRE_OPTS)
;