Blame view

3rdparty/boost_1_81_0/libs/units/test/Jamfile.v2 2.39 KB
73ef4ff3   Hu Chunming   提交三方库
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
  # Jamfile.v2
  #
  # Copyright (c) 2007-2009
  # Steven Watanabe
  #
  # Distributed under the Boost Software License, Version 1.0. (See
  # accompanying file LICENSE_1_0.txt or copy at
  # http://www.boost.org/LICENSE_1_0.txt
  
  import testing ;
  
  warning-options = <warnings>all <warnings-as-errors>on ;
  warning-compilers =
      <toolset>msvc
  ;
  
  project boost/units/test :
      requirements
          <implicit-dependency>/boost//headers
          <toolset>msvc:<asynch-exceptions>on
          $(warning-compilers)\:$(warning-options)
          # This warning comes from the test library.
          <toolset>msvc:<cxxflags>"/wd4701"
          # The comes from the exception library
          <toolset>msvc,<toolset-msvc:version>7.1:<cxxflags>"/wd4800"
  ;
  
  compile test_predicates.cpp ;
  compile test_negative_denominator.cpp ;
  compile test_dimensionless_ice1.cpp ;
  compile test_dimensionless_ice2.cpp ;
  compile test_mixed_value_types.cpp ;
  compile test_complicated_system.cpp ;
  compile test_reduce_unit.cpp ;
  compile test_unscale.cpp ;
  compile test_constants.cpp ;
  
  run test_dimensionless_quantity.cpp ;
  run test_implicit_conversion.cpp ;
  run test_quantity.cpp ;
  run test_unit.cpp ;
  run test_conversion.cpp ;
  run test_base_dimension.cpp ;
  run test_absolute.cpp ;
  run test_default_conversion.cpp ;
  run test_cmath.cpp ;
  run test_limits.cpp ;
  run test_custom_unit.cpp ;
  run test_scaled_conversion.cpp ;
  run test_lambda.cpp ;
  run test_sqrt_scaled_unit.cpp ;
  run test_scaled_unit.cpp ;
  run test_output.cpp /boost//regex/<warnings-as-errors>off : : : <test-info>always_show_run_output ;
  run test_trig.cpp ;
  run test_information_units.cpp ;
  
  compile-fail fail_implicit_conversion.cpp ;
  compile-fail fail_quantity_construct.cpp ;
  compile-fail fail_quantity_assign.cpp ;
  compile-fail fail_quantity_add.cpp ;
  compile-fail fail_quantity_subtract.cpp ;
  compile-fail fail_quantity_add_assign.cpp ;
  compile-fail fail_quantity_sub_assign.cpp ;
  compile-fail fail_quantity_scalar_add.cpp ;
  compile-fail fail_quantity_scalar_sub.cpp ;
  compile-fail fail_quantity_unit_add.cpp ;
  compile-fail fail_quantity_unit_subtract.cpp ;
  compile-fail fail_scalar_quantity_add.cpp ;
  compile-fail fail_scalar_quantity_sub.cpp ;
  compile-fail fail_unit_quantity_add.cpp ;
  compile-fail fail_unit_quantity_subtract.cpp ;
  compile-fail fail_adl_detail.cpp ;
  compile-fail fail_heterogeneous_unit.cpp ;
  compile-fail fail_base_dimension.cpp ;
  compile-fail fail_add_temperature.cpp ;
  compile-fail fail_quantity_non_unit.cpp ;