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