1# Boost.Wave: A Standard compliant C++ preprocessor library 2# 3# Boost Wave Library Sample Build Jamfile (cpp_tokens) 4# 5# http://www.boost.org/ 6# 7# Copyright (c) 2001-2010 Hartmut Kaiser. Distributed under the Boost 8# Software License, Version 1.0. (See accompanying file 9# LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 10 11SOURCES = 12 ../cpp_tokens 13 ../instantiate_cpp_exprgrammar 14 ../instantiate_cpp_grammar 15 ../instantiate_cpp_literalgrs 16 ../instantiate_defined_grammar 17 ../instantiate_has_include_grammar 18 ../instantiate_slex_lexer 19 ; 20 21exe cpp_tokens 22 : 23 $(SOURCES) 24 /boost/wave//boost_wave 25 /boost/program_options//boost_program_options 26 /boost/filesystem//boost_filesystem 27 /boost/system//boost_system 28 /boost/thread//boost_thread 29 ; 30 31for local source in $(SOURCES) 32{ 33 local requirements ; 34 # workaround for compiler bug 35 requirements += <toolset-msvc:version>7.1:<rtti>off ; 36 requirements += <toolset-msvc:version>7.1_stlport4:<rtti>off ; 37 obj $(source) : $(source).cpp : $(requirements) ; 38} 39