Jamfile.v2 961 B

123456789101112131415161718192021222324252627282930313233
  1. # Copyright (c) 2002-2005 CrystalClear Software, Inc.
  2. # Use, modification and distribution is subject to the
  3. # Boost Software License, Version 1.0. (See accompanying
  4. # file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
  5. #
  6. # Boost.date_time build and test Jamfile
  7. #
  8. # Based on boost.python Jamfile
  9. #
  10. # To run all tests quietly: jam test
  11. #
  12. # Declares the following targets:
  13. # 1. libboost_date_time, a static link library to be linked with all
  14. # Boost.date_time modules
  15. #
  16. project boost/date_time
  17. : requirements
  18. <define>DATE_TIME_INLINE
  19. <link>shared:<define>BOOST_ALL_DYN_LINK=1
  20. : usage-requirements
  21. <define>DATE_TIME_INLINE
  22. <link>shared:<define>BOOST_DATE_TIME_DYN_LINK=1
  23. : source-location ../src
  24. ;
  25. # Base names of the source files for libboost_date_time
  26. CPP_SOURCES = greg_month greg_weekday date_generators ;
  27. lib boost_date_time : gregorian/$(CPP_SOURCES).cpp ;
  28. boost-install boost_date_time ;