Jamfile.v2 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # Copyright Andrii Sydorchuk 2010-2012.
  2. # Distributed under the Boost Software License, Version 1.0.
  3. # (See accompanying file LICENSE_1_0.txt or copy at
  4. # http://www.boost.org/LICENSE_1_0.txt)
  5. import testing ;
  6. # Path constants required by the benchmarks.
  7. path-constant GMP_ROOT : /home/slevin/Workspace/Libraries/gmp ;
  8. path-constant MPFR_ROOT : /home/slevin/Workspace/Libraries/mpfr ;
  9. path-constant CGAL_ROOT : /home/slevin/Workspace/Libraries/cgal ;
  10. path-constant SHULL_ROOT : /home/slevin/Workspace/Libraries/s_hull ;
  11. project voronoi-benchmark
  12. :
  13. requirements
  14. <include>$(CGAL_ROOT)/include
  15. <include>$(SHULL_ROOT)/include
  16. <toolset>gcc:<library>$(GMP_ROOT)/lib/libgmp.so
  17. <toolset>gcc:<library>$(MPFR_ROOT)/lib/libmpfr.so
  18. <toolset>gcc:<library>$(CGAL_ROOT)/lib/libCGAL.so
  19. <toolset>gcc:<library>$(CGAL_ROOT)/lib/libCGAL_Core.so
  20. <toolset>gcc:<library>$(SHULL_ROOT)/s_hull.so
  21. <toolset>gcc:<library>$(BOOST_ROOT)/libs/timer/build//boost_timer
  22. <toolset>gcc:<library>$(BOOST_ROOT)/libs/thread/build//boost_thread
  23. <toolset>gcc:<library>$(BOOST_ROOT)/libs/test/build//boost_unit_test_framework
  24. ;
  25. alias "benchmark-general"
  26. :
  27. [ run voronoi_benchmark.cpp ]
  28. ;
  29. alias "benchmark-points"
  30. :
  31. [ run voronoi_benchmark_points.cpp ]
  32. ;
  33. alias "benchmark-segments"
  34. :
  35. [ run voronoi_benchmark_segments.cpp ]
  36. ;