2003-11-13 12:46:27 +00:00
|
|
|
# copyright John Maddock 2003
|
|
|
|
|
|
|
|
#
|
|
|
|
# This Jamfile tests the ability of some Windows compilers
|
|
|
|
# to automatically link to the right lib file,
|
|
|
|
# it is not generally applicable.
|
|
|
|
#
|
|
|
|
|
|
|
|
subproject libs/regex/test/auto-link-test ;
|
|
|
|
|
|
|
|
# bring in the rules for testing
|
|
|
|
import testing ;
|
|
|
|
|
|
|
|
run
|
2003-11-30 13:06:58 +00:00
|
|
|
# sources
|
|
|
|
<template>../../build/regex-options
|
|
|
|
../regress/parse.cpp
|
|
|
|
../regress/regress.cpp
|
|
|
|
../regress/tests.cpp
|
|
|
|
<lib>../../../test/build/boost_prg_exec_monitor
|
2003-11-13 12:46:27 +00:00
|
|
|
:
|
2003-11-30 13:06:58 +00:00
|
|
|
: # input files
|
|
|
|
../regress/tests.txt
|
|
|
|
: # requirements
|
|
|
|
<library-path>../../../../stage/lib
|
|
|
|
<define>BOOST_LIB_DIAGNOSTIC=1
|
|
|
|
: # program name
|
|
|
|
regex_regress
|
2003-11-13 12:46:27 +00:00
|
|
|
|
|
|
|
;
|
|
|
|
|
|
|
|
run
|
2003-11-30 13:06:58 +00:00
|
|
|
# sources
|
|
|
|
<template>../../build/regex-options
|
|
|
|
../regress/parse.cpp
|
|
|
|
../regress/regress.cpp
|
|
|
|
../regress/tests.cpp
|
|
|
|
<lib>../../../test/build/boost_prg_exec_monitor
|
2003-11-13 12:46:27 +00:00
|
|
|
:
|
2003-11-30 13:06:58 +00:00
|
|
|
: # input files
|
|
|
|
../regress/tests.txt
|
|
|
|
: # requirements
|
|
|
|
<library-path>../../../../stage/lib
|
|
|
|
<define>TEST_UNICODE=1
|
|
|
|
<define>BOOST_LIB_DIAGNOSTIC=1
|
|
|
|
: # program name
|
|
|
|
wide_regex_regress
|
2003-11-13 12:46:27 +00:00
|
|
|
|
|
|
|
;
|
|
|
|
|
|
|
|
# and now the dll versions:
|
|
|
|
|
|
|
|
run
|
2003-11-30 13:06:58 +00:00
|
|
|
# sources
|
|
|
|
<template>../../build/regex-options
|
|
|
|
../regress/parse.cpp
|
|
|
|
../regress/regress.cpp
|
|
|
|
../regress/tests.cpp
|
|
|
|
<lib>../../../test/build/boost_prg_exec_monitor
|
2003-11-13 12:46:27 +00:00
|
|
|
:
|
2003-11-30 13:06:58 +00:00
|
|
|
: # input files
|
|
|
|
../regress/tests.txt
|
|
|
|
: # requirements
|
|
|
|
<library-path>../../../../stage/lib
|
|
|
|
<define>BOOST_ALL_DYN_LINK=1
|
|
|
|
<runtime-link>dynamic
|
|
|
|
<define>BOOST_LIB_DIAGNOSTIC=1
|
|
|
|
: # program name
|
|
|
|
regex_regress_dll
|
2003-11-13 12:46:27 +00:00
|
|
|
|
|
|
|
;
|
|
|
|
|
|
|
|
run
|
2003-11-30 13:06:58 +00:00
|
|
|
# sources
|
|
|
|
<template>../../build/regex-options
|
|
|
|
../regress/parse.cpp
|
|
|
|
../regress/regress.cpp
|
|
|
|
../regress/tests.cpp
|
|
|
|
<lib>../../../test/build/boost_prg_exec_monitor
|
2003-11-13 12:46:27 +00:00
|
|
|
:
|
2003-11-30 13:06:58 +00:00
|
|
|
: # input files
|
|
|
|
../regress/tests.txt
|
|
|
|
: # requirements
|
|
|
|
<define>BOOST_ALL_DYN_LINK=1
|
|
|
|
<runtime-link>dynamic
|
|
|
|
<library-path>../../../../stage/lib
|
|
|
|
<define>TEST_UNICODE=1
|
|
|
|
<define>BOOST_LIB_DIAGNOSTIC=1
|
|
|
|
: # program name
|
|
|
|
wide_regex_regress_dll
|
2003-11-13 12:46:27 +00:00
|
|
|
|
|
|
|
;
|
|
|
|
|
|
|
|
|