mirror of
https://github.com/boostorg/local_function.git
synced 2026-01-19 16:32:09 +00:00
* Make the library modular usable. * Switch to library requirements instead of source. As source puts extra source in install targets. * Add requires-b2 check to top-level build file. * Bump B2 require to 5.2 * Change all <source> references to <library>. * Update copyright dates. * Move inter-lib dependencies to a project variable and into the build targets. * Adjust doc build to avoid boost-root references. * Update build deps. * Update build deps. * Replace GHA CI with simpler working one based on alandefreitas/cpp-actions utilities. * Move project global include to target local include. * Only msvc gets minor version tests. * Redo GHA CI to undo move to cpp-actions. * Fix non-existent containers. * This lib now only works for C++11. * Undo explicit g++ compiler specification. * Move container spec up for display purpouses.
67 lines
1.8 KiB
Plaintext
67 lines
1.8 KiB
Plaintext
|
|
# Copyright (C) 2009-2012 Lorenzo Caminiti
|
|
# Distributed under the Boost Software License, Version 1.0
|
|
# (see accompanying file LICENSE_1_0.txt or a copy at
|
|
# http://www.boost.org/LICENSE_1_0.txt)
|
|
# Home at http://www.boost.org/libs/local_function
|
|
|
|
import testing ;
|
|
|
|
# Sun does not automatically detect type-of emulation mode (force it).
|
|
project :
|
|
requirements
|
|
<library>/boost/local_function//boost_local_function
|
|
<toolset>sun:<define>BOOST_TYPEOF_EMULATION
|
|
<toolset>gcc:<cxxflags>-Wno-unused-local-typedefs
|
|
<toolset>clang:<cxxflags>-Wno-unused-local-typedefs
|
|
<library>/boost/concept_check//boost_concept_check
|
|
<library>/boost/functional//boost_functional
|
|
;
|
|
|
|
rule vaseq ( command target )
|
|
{
|
|
$(command) $(target).cpp ;
|
|
$(command) $(target)_seq.cpp ;
|
|
$(command) $(target)_seq_nova.cpp ;
|
|
}
|
|
|
|
vaseq run add ;
|
|
vaseq run add_default ;
|
|
vaseq run add_except ;
|
|
vaseq run add_inline ;
|
|
vaseq run add_params_only ;
|
|
vaseq run add_template ;
|
|
vaseq run add_this ;
|
|
vaseq run add_typed ;
|
|
vaseq run add_with_default ;
|
|
vaseq run all_decl ;
|
|
vaseq run factorial ;
|
|
vaseq run goto ;
|
|
vaseq compile-fail goto_error ;
|
|
vaseq run macro_commas ;
|
|
vaseq run nesting ;
|
|
vaseq run operator ;
|
|
vaseq compile-fail operator_error ;
|
|
vaseq run overload ;
|
|
vaseq run return_assign ;
|
|
|
|
# This test fails with division by zero under gcc-13, clang on macOS,
|
|
# and clang-cl
|
|
# The failure is legitimate; ASan reports stack use after return
|
|
# I don't know enough about the library to determine whether the problem
|
|
# is with the test or the implementation, though.
|
|
|
|
# vaseq run return_derivative ;
|
|
|
|
vaseq run return_inc ;
|
|
vaseq run return_setget ;
|
|
vaseq run return_this ;
|
|
vaseq run same_line ;
|
|
vaseq run transform ;
|
|
vaseq run typeof ;
|
|
vaseq run typeof_template ;
|
|
|
|
run ten_void.cpp ;
|
|
run ten_void_nova.cpp ;
|
|
|