mirror of
https://github.com/boostorg/local_function.git
synced 2026-07-22 13:33:39 +00:00
ff0934f6a3
* 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.
85 lines
2.7 KiB
Plaintext
85 lines
2.7 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
|
|
;
|
|
|
|
run add_cxx11_lambda.cpp ;
|
|
run add_global_functor.cpp ;
|
|
run add_local_functor.cpp ;
|
|
run add_phoenix.cpp : : : <library>/boost/phoenix//boost_phoenix ;
|
|
|
|
run const_block.cpp ;
|
|
compile-fail const_block_error.cpp : <variant>debug ;
|
|
run const_block_error.cpp : <variant>release : ;
|
|
compile-fail const_block_error_cxx11_lambda.cpp : <variant>debug ;
|
|
|
|
run expensive_copy_cxx11_lambda.cpp ;
|
|
run expensive_copy_local_function.cpp ;
|
|
|
|
run gcc_access.cpp ;
|
|
run gcc_lambda.cpp : : : <build>no <toolset>gcc:<build>yes ;
|
|
run gcc_cxx11_lambda.cpp ;
|
|
run gcc_square.cpp ;
|
|
run gcc_store.cpp ;
|
|
|
|
run impl_pp_keyword.cpp ;
|
|
run impl_tparam_tricks.cpp ;
|
|
|
|
run n2529_this.cpp ;
|
|
run n2550_find_if.cpp ;
|
|
|
|
compile-fail noncopyable_cxx11_lambda_error.cpp ;
|
|
run noncopyable_local_function.cpp ;
|
|
|
|
run phoenix_factorial.cpp : : : <library>/boost/phoenix//boost_phoenix ;
|
|
run phoenix_factorial_local.cpp : : : <library>/boost/phoenix//boost_phoenix ;
|
|
|
|
# Only compile but do not run profiling programs (they take a long time to run).
|
|
exe profile_global_functor : profile_global_functor.cpp
|
|
: <library>/boost/chrono//boost_chrono
|
|
<library>/boost/system//boost_system
|
|
<link>static
|
|
;
|
|
exe profile_cxx11_lambda : profile_cxx11_lambda.cpp
|
|
: <library>/boost/chrono//boost_chrono
|
|
<library>/boost/system//boost_system
|
|
<link>static
|
|
;
|
|
exe profile_local_function : profile_local_function.cpp
|
|
: <library>/boost/chrono//boost_chrono
|
|
<library>/boost/system//boost_system
|
|
<link>static
|
|
;
|
|
exe profile_local_function_inline : profile_local_function_inline.cpp
|
|
: <library>/boost/chrono//boost_chrono
|
|
<library>/boost/system//boost_system
|
|
<link>static
|
|
;
|
|
exe profile_local_functor : profile_local_functor.cpp
|
|
: <library>/boost/chrono//boost_chrono
|
|
<library>/boost/system//boost_system
|
|
<link>static
|
|
;
|
|
exe profile_phoenix : profile_phoenix.cpp
|
|
: <library>/boost/chrono//boost_chrono
|
|
<library>/boost/system//boost_system
|
|
<library>/boost/phoenix//boost_phoenix
|
|
<link>static
|
|
;
|
|
|
|
run scope_exit.cpp : : : <library>/boost/foreach//boost_foreach ;
|
|
|