mirror of
https://github.com/boostorg/callable_traits.git
synced 2026-01-23 05:22:13 +00:00
* Add modular library level build file. * Make the library modular usable. * Add missing import-search for cconfig/predef checks. * Add requires-b2 check to top-level build file. * Remove extra import-search. * Remove extra require-b2. * Bump B2 require to 5.2 * 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. * Replace GHA CI with simpler working one based on alandefreitas/cpp-actions utilities. * GCC 4.8 is the minimum available. * Move project global include to target local include. * Only msvc gets minor version tests. * Redo GHA CI to undo move to cpp-actions. * Update os/containers to account for unavailable packages in old containers. * Tweaks per comments.
25 lines
718 B
Plaintext
25 lines
718 B
Plaintext
# Copyright Louis Dionne 2013-2016
|
|
# Modified Work Copyright Barrett Adair 2016-2017
|
|
# Copyright 2017 Peter Dimov
|
|
#
|
|
# Distributed under the Boost Software License, Version 1.0.
|
|
# (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
|
|
|
|
import testing ;
|
|
import-search /boost/config/checks ;
|
|
import config : requires ;
|
|
|
|
project :
|
|
requirements
|
|
[ requires cxx11_constexpr ]
|
|
<toolset>clang:<cxxflags>"-pedantic -Wall -Wextra"
|
|
<toolset>darwin:<cxxflags>"-pedantic -Wall -Wextra"
|
|
<library>/boost/callable_traits//boost_callable_traits
|
|
;
|
|
|
|
for local source in [ glob *.cpp ]
|
|
{
|
|
run $(source) ;
|
|
run $(source) : : : <define>USE_LAZY_TYPES : $(source:B)__lazy ;
|
|
}
|