mirror of
https://github.com/boostorg/regex.git
synced 2025-07-16 05:42:15 +02:00
64 lines
1.3 KiB
Plaintext
64 lines
1.3 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
|
|
;
|
|
|
|
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
|
|
;
|
|
|
|
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
|
|
;
|
|
|
|
|