mirror of
https://github.com/boostorg/conversion.git
synced 2026-01-19 16:12:17 +00:00
32 lines
970 B
Plaintext
32 lines
970 B
Plaintext
# Copyright (C) 2001-2003 Douglas Gregor
|
|
# Copyright (C) Antony Polukhin, 2011-2024
|
|
#
|
|
# Distributed under 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)
|
|
#
|
|
|
|
require-b2 5.0.1 ;
|
|
import-search /boost/config/checks ;
|
|
import config : requires ;
|
|
import testing ;
|
|
import feature ;
|
|
|
|
project
|
|
: requirements
|
|
<library>/boost/conversion//boost_conversion
|
|
[ requires cxx11_decltype ]
|
|
# default to all warnings on:
|
|
<warnings>all
|
|
# set warnings as errors for those compilers we know we get warning free:
|
|
<toolset>gcc:<cxxflags>-Wextra
|
|
<toolset>gcc:<cxxflags>-Wno-uninitialized
|
|
;
|
|
|
|
test-suite conversion
|
|
: [ run implicit_cast.cpp ]
|
|
[ compile-fail implicit_cast_fail.cpp ]
|
|
[ run cast_test.cpp ]
|
|
[ run polymorphic_cast_test.cpp : : : <library>/boost/smart_ptr//boost_smart_ptr ]
|
|
[ compile-fail implicit_cast_fail2.cpp ]
|
|
;
|