Moved common build options into build/Jamfile

[SVN r20355]
This commit is contained in:
John Maddock
2003-10-12 11:19:15 +00:00
parent c23a7a8cfe
commit ff1c0a0bb5
4 changed files with 32 additions and 32 deletions

View File

@ -2,7 +2,30 @@
subproject libs/regex/build ;
import ../base ;
#
# this template defines the options common to
# all regex builds and tests:
#
template regex-options
: # sources
: # requirements
<define>BOOST_REGEX_NO_LIB=1
<debug><define>BOOST_REGEX_CONFIG_INFO=1
<sysinclude>$(BOOST_ROOT)
# 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
;
SOURCES = c_regex_traits c_regex_traits_common cpp_regex_traits
cregex fileiter posix_api regex regex_debug
@ -142,3 +165,4 @@ stage bin-stage : <lib>boost_regex <dll>boost_regex