2
0
mirror of https://github.com/boostorg/wave.git synced 2026-02-26 05:02:18 +00:00
Files
wave/build/Jamfile
2004-01-26 06:23:58 +00:00

66 lines
1.9 KiB
Plaintext

# Wave: A Standard compliant C++ preprocessor library
#
# Boost Wave Library Build Jamfile
#
# Copyright (c) 2001-2004 Hartmut Kaiser
# http://spirit.sourceforge.net/
#
# Use, modification, and distribution is subject to the Boost Software
# License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)
subproject libs/wave/build ;
SOURCES = instantiate_cpp_exprgrammar
instantiate_cpp_grammar
instantiate_cpp_literalgrammars
instantiate_defined_grammar
instantiate_predef_macros
instantiate_re2c_lexer
instantiate_re2c_lexer_string
cpplexer/re2clex/aq
cpplexer/re2clex/cpp.re
;
lib boost_wave
: ../src/$(SOURCES).cpp
: # build requirements
[ common-names ] # magic for install and auto-link features
<include>$(BOOST_ROOT)
<sysinclude>$(BOOST_ROOT)
<vc7.1><*><rtti>off # workaround for compiler bug
<no-warn>cpp.re.cpp
: debug release # build variants
;
#dll boost_wave
# : ../src/$(SOURCES).cpp
# : # build requirements
# [ common-names ] # magic for install and auto-link features
# <define>BOOST_FILESYSTEM_DYN_LINK=1 # tell source we're building dll's
# <runtime-link>dynamic # build only for dynamic runtimes
# <include>$(BOOST_ROOT)
# <sysinclude>$(BOOST_ROOT)
# : debug release # build variants
# ;
install wave lib
: <lib>boost_wave
# <dll>boost_wave
;
stage stage/lib : <lib>boost_wave # <dll>boost_wave
:
# copy to a path rooted at BOOST_ROOT:
<locate>$(BOOST_ROOT)
# make sure the names of the libraries are correctly named:
[ common-names ]
# add this target to the "stage" and "all" pseudo-targets:
<target>stage
<target>all
:
debug release
;
# end