⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 jamfile

📁 boost库提供标准的C++ API 配合dev c++使用,功能更加强大
💻
字号:

# Testing Jamfile 
subproject libs/date_time/test ;

# bring in rules for testing
import testing ;

# Make tests run by default.
DEPENDS all : test ;

local DATE_TIME_PROPERTIES = <define>BOOST_DATE_TIME_POSIX_TIME_STD_CONFIG <define>BOOST_DATE_TIME_STATIC_LINK ;

{
  # look in BOOST_ROOT for sources first, just in this Jamfile
  local SEARCH_SOURCE = $(BOOST_ROOT) $(SEARCH_SOURCE) ;

   test-suite date_time_core
     : 
    [ run testint_adapter.cpp ]
    [ run testtime_resolution_traits.cpp ]
    [ run testwrapping_int.cpp ]
    [ run testconstrained_value.cpp ]
    [ run testgregorian_calendar.cpp ]
   ; 

   test-suite date_time_gregorian
     : 
   [ run gregorian/testdate.cpp <lib>../build/boost_date_time : : : $(DATE_TIME_PROPERTIES) ]
   [ run gregorian/testdate_duration.cpp <lib>../build/boost_date_time : : : $(DATE_TIME_PROPERTIES) ]
   [ run gregorian/testperiod.cpp <lib>../build/boost_date_time : : : $(DATE_TIME_PROPERTIES) ]
   [ run gregorian/testdate_iterator.cpp <lib>../build/boost_date_time : : : $(DATE_TIME_PROPERTIES) ]
   [ run gregorian/testfacet.cpp <lib>../build/boost_date_time : : : $(DATE_TIME_PROPERTIES)  ]
   [ run gregorian/testformatters.cpp <lib>../build/boost_date_time : : : $(DATE_TIME_PROPERTIES) ]
   [ run gregorian/testgenerators.cpp <lib>../build/boost_date_time : : : $(DATE_TIME_PROPERTIES) ]
   [ run gregorian/testgreg_cal.cpp <lib>../build/boost_date_time : : : $(DATE_TIME_PROPERTIES) ]
   [ run gregorian/testgreg_day.cpp <lib>../build/boost_date_time : : : $(DATE_TIME_PROPERTIES) ]     
   [ run gregorian/testgreg_month.cpp <lib>../build/boost_date_time : : : $(DATE_TIME_PROPERTIES) ]
   [ run gregorian/testgreg_year.cpp <lib>../build/boost_date_time : : : $(DATE_TIME_PROPERTIES) ]
   [ run gregorian/testparse_date.cpp <lib>../build/boost_date_time : : : $(DATE_TIME_PROPERTIES) ]
 ;

   test-suite date_time_gregorian_dll
     : 
   [ run gregorian/testdate.cpp <dll>../build/boost_date_time : : : <define>BOOST_DATE_TIME_POSIX_TIME_STD_CONFIG <define>BOOST_ALL_DYN_LINK <runtime-link>dynamic : testdate_dll ]
   [ run gregorian/testdate_duration.cpp <dll>../build/boost_date_time : : : <define>BOOST_DATE_TIME_POSIX_TIME_STD_CONFIG <define>BOOST_ALL_DYN_LINK <runtime-link>dynamic : testdate_duration_dll ]
   [ run gregorian/testperiod.cpp <dll>../build/boost_date_time : : : <define>BOOST_DATE_TIME_POSIX_TIME_STD_CONFIG <define>BOOST_ALL_DYN_LINK <runtime-link>dynamic : testperiod_dll ]
   [ run gregorian/testdate_iterator.cpp <dll>../build/boost_date_time : : : <define>BOOST_DATE_TIME_POSIX_TIME_STD_CONFIG <define>BOOST_ALL_DYN_LINK <runtime-link>dynamic : testdate_iterator_dll ]
   [ run gregorian/testfacet.cpp <dll>../build/boost_date_time : : : <define>BOOST_DATE_TIME_POSIX_TIME_STD_CONFIG <define>BOOST_ALL_DYN_LINK <runtime-link>dynamic : testfacet_dll ]
   [ run gregorian/testformatters.cpp <dll>../build/boost_date_time : : : <define>BOOST_DATE_TIME_POSIX_TIME_STD_CONFIG <define>BOOST_ALL_DYN_LINK <runtime-link>dynamic : testformatters_dll ]
   [ run gregorian/testgenerators.cpp <dll>../build/boost_date_time : : : <define>BOOST_DATE_TIME_POSIX_TIME_STD_CONFIG <define>BOOST_ALL_DYN_LINK <runtime-link>dynamic : testgenerators_dll ]
   [ run gregorian/testgreg_cal.cpp <dll>../build/boost_date_time : : : <define>BOOST_DATE_TIME_POSIX_TIME_STD_CONFIG <define>BOOST_ALL_DYN_LINK <runtime-link>dynamic : testgreg_cal_dll ]
   [ run gregorian/testgreg_day.cpp <dll>../build/boost_date_time : : : <define>BOOST_DATE_TIME_POSIX_TIME_STD_CONFIG <define>BOOST_ALL_DYN_LINK <runtime-link>dynamic : testgreg_day_dll ]     
   [ run gregorian/testgreg_month.cpp <dll>../build/boost_date_time : : : <define>BOOST_DATE_TIME_POSIX_TIME_STD_CONFIG <define>BOOST_ALL_DYN_LINK <runtime-link>dynamic : testgreg_month_dll ]
   [ run gregorian/testgreg_year.cpp <dll>../build/boost_date_time : : : <define>BOOST_DATE_TIME_POSIX_TIME_STD_CONFIG <define>BOOST_ALL_DYN_LINK <runtime-link>dynamic : testgreg_year_dll ]
   # this next test is commented out because it crashes on VC6 (cause unknown):
  # [ run gregorian/testparse_date.cpp <dll>../build/boost_date_time : : : <define>BOOST_DATE_TIME_POSIX_TIME_STD_CONFIG <define>BOOST_ALL_DYN_LINK <runtime-link>dynamic : testparse_date_dll ]
 ;

   test-suite date_time_posixtime
     : 
   [ run posix_time/testlocal_adjustor.cpp
     <lib>../build/boost_date_time
    : : :  $(DATE_TIME_PROPERTIES) ]
   [ run posix_time/testc_local_adjustor.cpp
     <lib>../build/boost_date_time
    : : :  $(DATE_TIME_PROPERTIES) ]
   [ run posix_time/testclock.cpp
     <lib>../build/boost_date_time
    : : :  $(DATE_TIME_PROPERTIES) ]
   [ run posix_time/testdst_rules.cpp
     <lib>../build/boost_date_time
    : : :  $(DATE_TIME_PROPERTIES) ]
   [ run posix_time/testduration.cpp
     <lib>../build/boost_date_time
    : : :  $(DATE_TIME_PROPERTIES) ]
   [ run posix_time/testiterator.cpp
     <lib>../build/boost_date_time
    : : :  $(DATE_TIME_PROPERTIES) ]
   [ run posix_time/testparse_time.cpp
     <lib>../build/boost_date_time 
    : : :  $(DATE_TIME_PROPERTIES) ]
   [ run posix_time/testtime_period.cpp
     <lib>../build/boost_date_time
    : : :  $(DATE_TIME_PROPERTIES) ]
   [ run posix_time/testtime.cpp
     <lib>../build/boost_date_time
    : : :  $(DATE_TIME_PROPERTIES) ]
   [ run posix_time/testmicrosec_time_clock.cpp
     <lib>../build/boost_date_time
    : : : $(DATE_TIME_PROPERTIES) ]
   [ run posix_time/teststreams.cpp
     <lib>../build/boost_date_time
    : : : $(DATE_TIME_PROPERTIES) ]
   [ run posix_time/testtime_formatters.cpp
     <lib>../build/boost_date_time
    : : : $(DATE_TIME_PROPERTIES) ]
 ;


}

# Copyright (c) 2000
# CrystalClear Software, Inc.
#
# Permission to use, copy, modify, distribute and sell this software
# and its documentation for any purpose is hereby granted without fee,
# provided that the above copyright notice appear in all copies and
# that both that copyright notice and this permission notice appear
# in supporting documentation.  CrystalClear Software makes no
# representations about the suitability of this software for any
# purpose.  It is provided "as is" without express or implied warranty.


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -