mirror of
https://github.com/boostorg/static_assert.git
synced 2025-07-30 04:37:20 +02:00
Make the library modular usable.
This commit is contained in:
@ -1,9 +0,0 @@
|
||||
# copyright John Maddock 2003
|
||||
# Use, modification and distribution are 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)
|
||||
|
||||
# bring in the rules for testing
|
||||
import testing ;
|
||||
|
||||
build-project test ;
|
20
build.jam
Normal file
20
build.jam
Normal file
@ -0,0 +1,20 @@
|
||||
# Copyright René Ferdinand Rivera Morell 2023
|
||||
# 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)
|
||||
|
||||
import project ;
|
||||
|
||||
project /boost/static_assert
|
||||
: common-requirements
|
||||
<source>/boost/config//boost_config
|
||||
<include>include
|
||||
;
|
||||
|
||||
explicit
|
||||
[ alias boost_static_assert ]
|
||||
[ alias all : boost_static_assert example test ]
|
||||
;
|
||||
|
||||
call-if : boost-library static_assert
|
||||
;
|
@ -6,6 +6,10 @@
|
||||
# bring in the rules for testing
|
||||
import testing ;
|
||||
|
||||
project : requirements
|
||||
<source>/boost/type_traits//boost_type_traits
|
||||
;
|
||||
|
||||
#run static_assert_example_1.cpp ;
|
||||
run static_assert_example_2.cpp ;
|
||||
run static_assert_example_3.cpp ;
|
||||
|
@ -6,6 +6,10 @@
|
||||
# bring in the rules for testing
|
||||
import testing ;
|
||||
|
||||
project : requirements
|
||||
<source>/boost/type_traits//boost_type_traits
|
||||
;
|
||||
|
||||
run static_assert_test.cpp ;
|
||||
compile-fail static_assert_test_fail_1.cpp ;
|
||||
compile-fail static_assert_test_fail_2.cpp ;
|
||||
|
Reference in New Issue
Block a user