C++的一个好库。。。现在很流行
源代码在线查看: jamfile
软件大小: |
21075 K |
上传用户: |
lyyfengyutongzh |
|
|
关键词: |
|
下载地址: |
免注册下载 普通下载
|
|
# Boost.Wave: A Standard compliant C++ preprocessor library
#
# Boost Wave Library Build Jamfile
#
# http://www.boost.org/
#
# Copyright (c) 2001-2005 Hartmut Kaiser. Distributed under 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_literalgrs
instantiate_defined_grammar
instantiate_predef_macros
instantiate_re2c_lexer
instantiate_re2c_lexer_str
cpplexer/re2clex/aq
cpplexer/re2clex/cpp_re
;
lib boost_wave
: ../src/$(SOURCES).cpp
: # build requirements
[ common-names ] # magic for install and auto-link features
$(BOOST_ROOT)
$(BOOST_ROOT)
off # workaround for compiler bug
off
cpp_re.cpp
: debug release # build variants
;
#dll boost_wave
# : ../src/$(SOURCES).cpp
# : # build requirements
# [ common-names ] # magic for install and auto-link features
# BOOST_WAVE_DYN_LINK=1 # tell source we're building dll's
# dynamic # build only for dynamic runtimes
# $(BOOST_ROOT)
# $(BOOST_ROOT)
# : debug release # build variants
# ;
install wave lib
: boost_wave
# boost_wave
;
stage stage/lib : boost_wave # boost_wave
:
# copy to a path rooted at BOOST_ROOT:
$(BOOST_ROOT)
# make sure the names of the libraries are correctly named:
[ common-names ]
# add this target to the "stage" and "all" pseudo-targets:
stage
all
:
debug release
;
# end