forked from boostorg/regex
85 lines
1.6 KiB
Plaintext
85 lines
1.6 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
|
|
<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
|
|
;
|
|
|
|
#
|
|
# 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
|
|
;
|
|
|
|
SOURCES =
|
|
cpp_regex_traits.cpp
|
|
cregex.cpp
|
|
fileiter.cpp
|
|
instances.cpp
|
|
posix_api.cpp
|
|
regex.cpp
|
|
regex_debug.cpp
|
|
regex_raw_buffer.cpp
|
|
regex_traits_defaults.cpp
|
|
static_mutex.cpp
|
|
wide_posix_api.cpp
|
|
winstances.cpp ;
|
|
|
|
lib boost_regex : ../src/$(SOURCES) <template>regex-options
|
|
:
|
|
common-variant-tag
|
|
:
|
|
debug release
|
|
;
|
|
|
|
|
|
dll boost_regex : ../src/$(SOURCES) <template>regex-dll-options
|
|
:
|
|
common-variant-tag
|
|
:
|
|
debug release
|
|
;
|
|
|
|
stage stage/lib : <lib>boost_regex <dll>boost_regex
|
|
:
|
|
<locate>$(BOOST_ROOT)
|
|
common-variant-tag
|
|
<target>stage
|
|
<target>all
|
|
:
|
|
debug release
|
|
;
|
|
|
|
install regex lib
|
|
: <dll>boost_regex <lib>boost_regex
|
|
;
|
|
|
|
|
|
|