Jamfile.v2 1.1 KB

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