mirror of
https://github.com/boostorg/regex.git
synced 2026-05-05 12:14:17 +02:00
1a50827c46
[SVN r21011]
95 lines
1.9 KiB
Plaintext
95 lines
1.9 KiB
Plaintext
# 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
|
|
# sources
|
|
<template>../../build/regex-options
|
|
../regress/parse.cpp
|
|
../regress/regress.cpp
|
|
../regress/tests.cpp
|
|
<lib>../../../test/build/boost_prg_exec_monitor
|
|
:
|
|
: # input files
|
|
../regress/tests.txt
|
|
: # requirements
|
|
<library-path>../../../../stage/lib
|
|
<define>BOOST_LIB_DIAGNOSTIC=1
|
|
: # program name
|
|
regex_regress
|
|
|
|
;
|
|
|
|
run
|
|
# sources
|
|
<template>../../build/regex-options
|
|
../regress/parse.cpp
|
|
../regress/regress.cpp
|
|
../regress/tests.cpp
|
|
<lib>../../../test/build/boost_prg_exec_monitor
|
|
:
|
|
: # input files
|
|
../regress/tests.txt
|
|
: # requirements
|
|
<library-path>../../../../stage/lib
|
|
<define>TEST_UNICODE=1
|
|
<define>BOOST_LIB_DIAGNOSTIC=1
|
|
: # program name
|
|
wide_regex_regress
|
|
|
|
;
|
|
|
|
# and now the dll versions:
|
|
|
|
run
|
|
# sources
|
|
<template>../../build/regex-options
|
|
../regress/parse.cpp
|
|
../regress/regress.cpp
|
|
../regress/tests.cpp
|
|
<lib>../../../test/build/boost_prg_exec_monitor
|
|
:
|
|
: # 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
|
|
|
|
;
|
|
|
|
run
|
|
# sources
|
|
<template>../../build/regex-options
|
|
../regress/parse.cpp
|
|
../regress/regress.cpp
|
|
../regress/tests.cpp
|
|
<lib>../../../test/build/boost_prg_exec_monitor
|
|
:
|
|
: # 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
|
|
|
|
;
|
|
|
|
|