Files
boost_regex/build/Jamfile
T
John Maddock 6bb6cddad6 Added [common-names] tags to dll and lib builds.
Added <native-wchar_t>on build requirement


[SVN r20765]
2003-11-08 13:16:53 +00:00

66 lines
1.5 KiB
Plaintext

# copyright John Maddock 2003
subproject libs/regex/build ;
#
# 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)
<native-wchar_t>on
# 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
regex_synch w32_regex_traits wide_posix_api instances winstances ;
lib boost_regex : ../src/$(SOURCES).cpp <template>regex-options
:
[ common-names ]
:
debug release
;
dll boost_regex : ../src/$(SOURCES).cpp <template>regex-dll-options
:
[ common-names ]
:
debug release
;
local version-tag = [ MATCH "^([^.]+).([^.]+)" : $(BOOST_VERSION) ] ;
version-tag = $(version-tag:J="_") ;
stage stage/lib : <lib>boost_regex <dll>boost_regex
:
<locate>$(BOOST_ROOT)
[ common-names ]
<target>stage
<target>all
:
debug release
;
install regex lib
: <dll>boost_regex <lib>boost_regex
;