jamfile.v2 1.4 KB

12345678910111213141516171819202122232425262728293031323334
  1. # Convert Jamfile
  2. # Copyright (c) Vladimir Batov 2009-2014
  3. # Distributed under the Boost Software License, Version 1.0.
  4. # See copy at http://www.boost.org/LICENSE_1_0.txt.
  5. # bring in the rules for testing
  6. import testing ;
  7. project convert_examples
  8. : requirements
  9. <warnings>on
  10. <toolset>gcc:<warnings>all
  11. <toolset>msvc:<warnings>all
  12. <toolset>gcc:<cxxflags>"-Wno-unused-local-typedefs -Wno-unused-variable -Wno-long-long"
  13. <toolset>msvc:<cxxflags>"/wd4996 /wd4512 /wd4610 /wd4510 /wd4127 /wd4701 /wd4127 /wd4305 /wd4100 /wd4512 /wd4714"
  14. <toolset>msvc:<asynch-exceptions>on
  15. <toolset>msvc:<define>_CRT_SECURE_NO_DEPRECATE
  16. <toolset>msvc:<define>_SCL_SECURE_NO_DEPRECATE
  17. <toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS
  18. <toolset>msvc:<define>_CRT_SECURE_NO_WARNINGS
  19. <include>../include
  20. ;
  21. run algorithms.cpp : : : : convert_example_algorithms ;
  22. run default_converter.cpp : : : : convert_example_default_converter ;
  23. run getting_serious.cpp : : : : convert_example_getting_started ;
  24. run getting_started.cpp : : : : convert_example_getting_serious ;
  25. run lexical_cast.cpp : : : : convert_example_lexical_cast_converter ;
  26. run stream.cpp : : : : convert_example_stream_converter ;
  27. compile-fail default_converter_fail.cpp : <warnings>off <cxxflags>"-w" ;