Jamfile.v2 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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. SOURCES =
  11. ../idl
  12. ../instantiate_cpp_grammar
  13. ../instantiate_defined_grammar
  14. ../instantiate_predef_macros
  15. ../instantiate_re2c_lexer
  16. ../instantiate_re2c_lexer_str
  17. ../idllexer/idl_re
  18. ;
  19. exe waveidl
  20. :
  21. $(SOURCES)
  22. /boost/wave//boost_wave
  23. /boost/program_options//boost_program_options
  24. /boost/system//boost_system
  25. /boost/thread//boost_thread
  26. /boost/date_time//boost_date_time
  27. ;
  28. for local source in $(SOURCES)
  29. {
  30. local requirements ;
  31. # workaround for compiler bug
  32. requirements += <toolset-msvc:version>7.1:<rtti>off ;
  33. requirements += <toolset-msvc:version>7.1_stlport4:<rtti>off ;
  34. obj $(source) : $(source).cpp : $(requirements) ;
  35. }