subproject libs/regex/test ;


unit-test regress : regress/parse.cpp regress/regress.cpp regress/tests.cpp
   <lib>../build/libboost_regex$(SUFLIB) 
	: 
		<include>../../../
		<define>BOOST_REGEX_NO_LIB=1
	: 
		debug
	;

unit-test wregress : regress/parse.cpp regress/regress.cpp regress/tests.cpp
   <lib>../build/libboost_regex$(SUFLIB) 
	: 
		<include>../../../
		<define>BOOST_REGEX_NO_LIB=1
		<define>TEST_UNICODE=1
	: 
		debug
	;

unit-test posix_api_check_c : c_compiler_checks/posix_api_check.c
   <lib>../build/libboost_regex$(SUFLIB) 
	: 
		<include>../../../
		<define>BOOST_REGEX_NO_LIB=1
	: 
		debug
	;

unit-test wide_posix_api_check_c : c_compiler_checks/wide_posix_api_check.c
   <lib>../build/libboost_regex$(SUFLIB) 
	: 
		<include>../../../
		<define>BOOST_REGEX_NO_LIB=1
	: 
		debug
	;

unit-test posix_api_check : c_compiler_checks/posix_api_check.cpp
   <lib>../build/libboost_regex$(SUFLIB) 
	: 
		<include>../../../
		<define>BOOST_REGEX_NO_LIB=1
	: 
		debug
	;

unit-test wide_posix_api_check : c_compiler_checks/wide_posix_api_check.cpp
   <lib>../build/libboost_regex$(SUFLIB) 
	: 
		<include>../../../
		<define>BOOST_REGEX_NO_LIB=1
	: 
		debug
	;




