2003-05-24 11:13:26 +00:00
|
|
|
# copyright John Maddock 2003
|
|
|
|
|
2001-07-21 13:06:09 +00:00
|
|
|
subproject libs/regex/build ;
|
|
|
|
|
2003-10-12 11:19:15 +00:00
|
|
|
#
|
|
|
|
# this template defines the options common to
|
|
|
|
# all regex builds and tests:
|
|
|
|
#
|
|
|
|
template regex-options
|
|
|
|
: # sources
|
|
|
|
: # requirements
|
|
|
|
<debug><define>BOOST_REGEX_CONFIG_INFO=1
|
|
|
|
<sysinclude>$(BOOST_ROOT)
|
2003-11-08 13:16:53 +00:00
|
|
|
<native-wchar_t>on
|
2003-10-12 11:19:15 +00:00
|
|
|
# como requires this:
|
|
|
|
<como-win32><*><define>BOOST_REGEX_NO_W32=1
|
|
|
|
;
|
|
|
|
|
|
|
|
#
|
|
|
|
# this template defines the options common to
|
|
|
|
# all regex dll builds and tests:
|
|
|
|
#
|
|
|
|
template regex-dll-options
|
|
|
|
: <template>regex-options # sources
|
|
|
|
: # requirements
|
|
|
|
<define>BOOST_REGEX_DYN_LINK=1
|
|
|
|
<runtime-link>dynamic
|
|
|
|
;
|
2003-07-26 11:22:17 +00:00
|
|
|
|
2003-12-07 13:09:44 +00:00
|
|
|
#
|
|
|
|
# this template defines extra settings required to work
|
|
|
|
# around STLPort defects when used with msvc 6:
|
|
|
|
#
|
|
|
|
template msvc-stlport-tricky
|
|
|
|
: # sources
|
|
|
|
: <msvc-stlport><*><runtime-build>release
|
|
|
|
<define>BOOST_ALL_NO_LIB=1
|
|
|
|
;
|
|
|
|
|
2001-07-21 13:06:09 +00:00
|
|
|
SOURCES = c_regex_traits c_regex_traits_common cpp_regex_traits
|
|
|
|
cregex fileiter posix_api regex regex_debug
|
2002-04-24 10:50:23 +00:00
|
|
|
regex_synch w32_regex_traits wide_posix_api instances winstances ;
|
2001-07-21 13:06:09 +00:00
|
|
|
|
2003-07-26 11:22:17 +00:00
|
|
|
lib boost_regex : ../src/$(SOURCES).cpp <template>regex-options
|
2001-10-06 18:19:15 +00:00
|
|
|
:
|
2003-11-26 11:46:19 +00:00
|
|
|
common-variant-tag
|
2001-10-06 18:19:15 +00:00
|
|
|
:
|
|
|
|
debug release
|
|
|
|
;
|
2001-08-11 11:47:12 +00:00
|
|
|
|
|
|
|
|
2003-07-26 11:22:17 +00:00
|
|
|
dll boost_regex : ../src/$(SOURCES).cpp <template>regex-dll-options
|
2001-10-06 18:19:15 +00:00
|
|
|
:
|
2003-11-26 11:46:19 +00:00
|
|
|
common-variant-tag
|
2001-10-06 18:19:15 +00:00
|
|
|
:
|
|
|
|
debug release
|
|
|
|
;
|
2003-11-02 12:13:16 +00:00
|
|
|
|
|
|
|
stage stage/lib : <lib>boost_regex <dll>boost_regex
|
2002-02-14 04:08:20 +00:00
|
|
|
:
|
2003-11-02 12:13:16 +00:00
|
|
|
<locate>$(BOOST_ROOT)
|
2003-11-26 11:46:19 +00:00
|
|
|
common-variant-tag
|
2003-11-02 12:13:16 +00:00
|
|
|
<target>stage
|
|
|
|
<target>all
|
2002-02-14 04:08:20 +00:00
|
|
|
:
|
|
|
|
debug release
|
|
|
|
;
|
2001-12-09 12:50:46 +00:00
|
|
|
|
2003-10-19 19:52:56 +00:00
|
|
|
install regex lib
|
|
|
|
: <dll>boost_regex <lib>boost_regex
|
|
|
|
;
|
2003-11-10 11:26:39 +00:00
|
|
|
|
|
|
|
|
2003-12-07 13:09:44 +00:00
|
|
|
|