#============================================================================== # Copyright (c) 2001-2011 Joel de Guzman # Copyright (c) 2001-2012 Hartmut Kaiser # Copyright (c) 2011 Bryce Lelbach # # 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-support : requirements . 512 hide,gcc-$(9-11):-Wno-deprecated-copy # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94492 # Suppress C++03 deprecation warnings from other libraries BOOST_BIND_DETAIL_REQUIRES_CXX11_HPP_INCLUDED BOOST_HASH_DETAIL_REQUIRES_CXX11_HPP_INCLUDED BOOST_ENDIAN_DETAIL_REQUIRES_CXX11_HPP_INCLUDED BOOST_FUNCTION_DETAIL_REQUIRES_CXX11_HPP_INCLUDED BOOST_SMART_PTR_DETAIL_REQUIRES_CXX11_HPP_INCLUDED BOOST_SYSTEM_DETAIL_REQUIRES_CXX11_HPP_INCLUDED BOOST_TYPEOF_DETAIL_REQUIRES_CXX11_HPP_INCLUDED BOOST_UNORDERED_DETAIL_REQUIRES_CXX11_HPP_INCLUDED ; ############################################################################### local subproject-name = support ; 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) : $(target-name) : $(default-build) ] ; } rule compile ( sources + : requirements * : target-name ? ) { target-name ?= $(subproject-name)_$(sources[1]:D=:S=) ; return [ testing.compile $(sources) : $(requirements) : $(target-name) ] ; } rule compile-fail ( sources + : requirements * : target-name ? ) { target-name ?= $(subproject-name)_$(sources[1]:D=:S=) ; return [ testing.compile-fail $(sources) : $(requirements) : $(target-name) ] ; } ############################################################################### run char_encoding.cpp ; run istream_iterator_basic.cpp ; run line_pos_iterator.cpp ; run multi_pass_error_handler.cpp ; run multi_pass_parse.cpp ; run unused_type.cpp ; run utree.cpp ; run utree_debug.cpp ; compile multi_pass_functor.cpp ;