Jamfile.v2 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. # Boost.Geometry (aka GGL, Generic Geometry Library)
  2. #
  3. # Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands.
  4. # Copyright (c) 2008-2012 Bruno Lalande, Paris, France.
  5. # Copyright (c) 2009-2018 Mateusz Loskot, London, UK.
  6. #
  7. # This file was modified by Oracle on 2017, 2018, 2019.
  8. # Modifications copyright (c) 2017-2019 Oracle and/or its affiliates.
  9. # Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
  10. #
  11. # Use, modification and distribution is subject to the Boost Software License,
  12. # Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  13. # http://www.boost.org/LICENSE_1_0.txt)
  14. import os ;
  15. import testing ;
  16. project boost-geometry-test
  17. :
  18. requirements
  19. <include>.
  20. <include>../../../boost/geometry/extensions/contrib/ttmath
  21. <toolset>msvc:<asynch-exceptions>on
  22. <toolset>msvc:<cxxflags>/bigobj
  23. <toolset>clang:<cxxflags>-Wno-unneeded-internal-declaration # supress warning by Boost.None
  24. <toolset>intel:<define>BOOST_GEOMETRY_TEST_ONLY_ONE_TYPE
  25. <host-os>windows,<toolset>intel:<cxxflags>/bigobj
  26. <define>BOOST_NO_AUTO_PTR # disable the deprecated std::auto_ptr support in SmartPtr and Core
  27. ;
  28. # Run minimal testset
  29. test-suite boost-geometry-minimal
  30. :
  31. [ run minimal.cpp : : : : minimal ]
  32. ;
  33. # If not on Travis run all of the tests
  34. if ! [ os.environ TRAVIS ]
  35. {
  36. build-project core ;
  37. build-project concepts ;
  38. build-project geometries ;
  39. build-project arithmetic ;
  40. build-project algorithms ;
  41. build-project formulas ;
  42. build-project iterators ;
  43. build-project strategies ;
  44. build-project policies ;
  45. build-project io ;
  46. build-project srs ;
  47. build-project cs_undefined ;
  48. build-project util ;
  49. build-project views ;
  50. }