mirror of
https://github.com/boostorg/spirit.git
synced 2026-01-31 08:32:12 +00:00
73 lines
2.7 KiB
Plaintext
73 lines
2.7 KiB
Plaintext
#==============================================================================
|
|
# Copyright (c) 2001-2011 Joel de Guzman
|
|
# Copyright (c) 2001-2012 Hartmut Kaiser
|
|
# Copyright (c) 2011 Bryce Lelbach
|
|
# Copyright (c) 2025 Joaquin M Lopez Munoz
|
|
#
|
|
# 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
|
|
<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
|
|
|
|
# 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
|
|
;
|
|
|
|
###############################################################################
|
|
|
|
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 /boost/assign//boost_assign ;
|
|
run multi_pass_error_handler.cpp ;
|
|
run multi_pass_parse.cpp ;
|
|
run unused_type.cpp ;
|
|
run utree.cpp ;
|
|
run utree_debug.cpp ;
|
|
|
|
compile iterator_concepts.cpp ;
|
|
compile multi_pass_functor.cpp ;
|