Jamfile.v2 614 B

12345678910111213141516171819202122232425
  1. # Build and install benchmark programs
  2. # Copyright Beman Dawes 2013
  3. # Distributed under the Boost Software License, Version 1.0.
  4. # See www.boost.org/LICENSE_1_0.txt
  5. project
  6. : source-location ../test : requirements
  7. <toolset>msvc:<asynch-exceptions>on
  8. <library>/boost/timer//boost_timer
  9. ;
  10. SOURCES = speed_test speed_test_functions ;
  11. exe "speed_test"
  12. : $(SOURCES).cpp
  13. : <toolset>gcc:<cxxflags>-march=native
  14. ;
  15. exe "loop_time_test"
  16. : loop_time_test.cpp
  17. : <toolset>gcc:<cxxflags>-march=native
  18. ;
  19. install bin : speed_test loop_time_test ;