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 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150
|
#==============================================================================
# Copyright (c) 2001-2011 Joel de Guzman
# Copyright (c) 2001-2012 Hartmut Kaiser
# Copyright (c) 2011 Bryce Lelbach
# Copyright (c) 2016-2019 Nikita Kniazev
#
# Use, modification and distribution is subject to 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 ;
###############################################################################
local 9-11 = 9 10 11 ;
project spirit-karma
: requirements
<include>.
<c++-template-depth>512
<known-warnings>hide,<toolset>gcc-$(9-11):<cxxflags>-Wno-deprecated-copy # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94492
<known-warnings>hide,<toolset>msvc-10.0:<cxxflags>-wd4701 # Compiler bug in Proto
# Suppress C++03 deprecation warnings from other libraries
<define>BOOST_BIND_DETAIL_REQUIRES_CXX11_HPP_INCLUDED
<define>BOOST_HASH_DETAIL_REQUIRES_CXX11_HPP_INCLUDED
<define>BOOST_ENDIAN_DETAIL_REQUIRES_CXX11_HPP_INCLUDED
<define>BOOST_FUNCTION_DETAIL_REQUIRES_CXX11_HPP_INCLUDED
<define>BOOST_SMART_PTR_DETAIL_REQUIRES_CXX11_HPP_INCLUDED
<define>BOOST_SYSTEM_DETAIL_REQUIRES_CXX11_HPP_INCLUDED
<define>BOOST_TYPEOF_DETAIL_REQUIRES_CXX11_HPP_INCLUDED
<define>BOOST_UNORDERED_DETAIL_REQUIRES_CXX11_HPP_INCLUDED
;
###############################################################################
cpp-pch pch : pch.hpp : : : <include>. <force-include>pch.hpp ;
explicit pch ;
###############################################################################
local subproject-name = karma ;
rule run ( sources + : args * : input-files *
: requirements * : target-name ? : default-build * )
{
target-name ?= $(subproject-name)_$(sources[1]:D=:S=) ;
return [ testing.run $(sources) : $(args) : $(input-files)
: $(requirements) <pch>on-spirit:<source>pch : $(target-name) : $(default-build) ] ;
}
rule compile ( sources + : requirements * : target-name ? )
{
target-name ?= $(subproject-name)_$(sources[1]:D=:S=) ;
return [ testing.compile $(sources)
: $(requirements) <pch>on-spirit:<source>pch : $(target-name) ] ;
}
rule compile-fail ( sources + : requirements * : target-name ? )
{
target-name ?= $(subproject-name)_$(sources[1]:D=:S=) ;
return [ testing.compile-fail $(sources)
: $(requirements) <pch>on-spirit:<source>pch : $(target-name) ] ;
}
###############################################################################
compile-fail grammar_fail.cpp ;
compile-fail rule_fail.cpp ;
run actions.cpp /boost/lambda//boost_lambda ;
run alternative1.cpp ;
run alternative2.cpp ;
run and_predicate.cpp ;
run attribute.cpp ;
run auto1.cpp ;
run auto2.cpp ;
run auto3.cpp ;
run binary1.cpp ;
run binary2.cpp ;
run binary3.cpp ;
run bool.cpp ;
run buffer.cpp ;
run case_handling1.cpp ;
run case_handling2.cpp ;
run case_handling3.cpp ;
run center_alignment.cpp ;
run char1.cpp ;
run char2.cpp ;
run char3.cpp ;
run char_class.cpp ;
run columns.cpp ;
run debug.cpp : : : <pch>off ;
run delimiter.cpp ;
run duplicate.cpp ;
run encoding.cpp ;
run eol.cpp ;
run eps.cpp ;
run format_manip.cpp /boost/assign//boost_assign ;
run format_manip_attr.cpp ;
run format_pointer_container.cpp ;
run generate_attr.cpp ;
run grammar.cpp ;
run int1.cpp ;
run int2.cpp ;
run int3.cpp ;
run kleene.cpp /boost/assign//boost_assign ;
run lazy.cpp ;
run left_alignment.cpp ;
run list.cpp /boost/assign//boost_assign ;
run lit.cpp ;
run maxwidth.cpp ;
run not_predicate.cpp ;
run omit.cpp ;
run optional.cpp ;
run pattern1.cpp ;
run pattern2.cpp ;
run pattern3.cpp ;
run pattern4.cpp ;
run plus.cpp /boost/assign//boost_assign ;
run real1.cpp /boost/math//boost_math_tr1 ;
run real2.cpp /boost/math//boost_math_tr1 ;
run real3.cpp /boost/math//boost_math_tr1 ;
run repeat1.cpp /boost/assign//boost_assign ;
run repeat2.cpp /boost/assign//boost_assign ;
run right_alignment.cpp ;
run sequence1.cpp ;
run sequence2.cpp ;
run stream.cpp ;
run symbols1.cpp ;
run symbols2.cpp ;
run symbols3.cpp ;
run tricky_alignment.cpp ;
run uint_radix.cpp ;
run utree1.cpp ;
run utree2.cpp ;
run utree3.cpp ;
run wstream.cpp ;
compile regression_const_real_policies.cpp ;
run regression_adapt_adt.cpp ;
run regression_center_alignment.cpp ;
run regression_container_variant_sequence.cpp ;
run regression_iterator.cpp ;
run regression_optional_double.cpp ;
run regression_real_0.cpp ;
run regression_real_policy_sign.cpp ;
run regression_real_scientific.cpp ;
run regression_semantic_action_attribute.cpp ;
run regression_unicode_char.cpp : : : <pch>off ;
|