1# Boost.Wave: A Standard compliant C++ preprocessor library 2# 3# Boost Wave Library Sample Build Jamfile (token_statistics) 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 ../token_statistics 13 ../instantiate_xlex_lexer 14 ../instantiate_cpp_grammar 15 ../instantiate_defined_grammar 16 ../instantiate_has_include_grammar 17 ; 18 19exe token_statistics 20 : 21 $(SOURCES) 22 /boost/wave//boost_wave 23 /boost/program_options//boost_program_options/<link>static 24 /boost/filesystem//boost_filesystem 25 /boost/system//boost_system 26 /boost/thread//boost_thread 27 ; 28 29for local source in $(SOURCES) 30{ 31 local requirements ; 32 requirements += <toolset-msvc:version>7.1:<rtti>off ; # workaround for compiler bug 33 requirements += <toolset-msvc:version>7.1_stlport4:<rtti>off ; 34 obj $(source) : $(source).cpp : $(requirements) ; 35} 36 37