mirror of
https://github.com/boostorg/scope_exit.git
synced 2026-01-19 04:42:10 +00:00
Merge pull request #17 from grafikrobot/modular
Add support for modular build structure.
This commit is contained in:
25
build.jam
Normal file
25
build.jam
Normal file
@@ -0,0 +1,25 @@
|
||||
# Copyright René Ferdinand Rivera Morell 2023-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.2 ;
|
||||
|
||||
constant boost_dependencies :
|
||||
/boost/config//boost_config
|
||||
/boost/function//boost_function
|
||||
/boost/preprocessor//boost_preprocessor
|
||||
/boost/type_traits//boost_type_traits
|
||||
/boost/typeof//boost_typeof ;
|
||||
|
||||
project /boost/scope_exit
|
||||
;
|
||||
|
||||
explicit
|
||||
[ alias boost_scope_exit : : :
|
||||
: <include>include <library>$(boost_dependencies) ]
|
||||
[ alias all : boost_scope_exit example test ]
|
||||
;
|
||||
|
||||
call-if : boost-library scope_exit
|
||||
;
|
||||
@@ -10,7 +10,7 @@ import quickbook ;
|
||||
using boostbook ;
|
||||
|
||||
doxygen reference
|
||||
: ../../../boost/scope_exit.hpp
|
||||
: ../include/boost/scope_exit.hpp
|
||||
: <reftitle>"Reference"
|
||||
<doxygen:param>PREDEFINED="DOXYGEN"
|
||||
<doxygen:param>QUIET=YES
|
||||
|
||||
@@ -9,7 +9,8 @@
|
||||
import testing ;
|
||||
|
||||
# Sun does not automatically detect type-of emulation mode (force it).
|
||||
project : requirements <toolset>sun:<define>BOOST_TYPEOF_EMULATION ;
|
||||
project : requirements <toolset>sun:<define>BOOST_TYPEOF_EMULATION
|
||||
<library>/boost/scope_exit//boost_scope_exit ;
|
||||
|
||||
run try_catch.cpp ;
|
||||
run try_catch_seq.cpp ;
|
||||
|
||||
@@ -7,7 +7,14 @@
|
||||
# Home at http://www.boost.org/libs/scope_exit
|
||||
|
||||
import testing ;
|
||||
import ../../config/checks/config : requires ;
|
||||
import-search /boost/config/checks ;
|
||||
import config : requires ;
|
||||
|
||||
project : requirements
|
||||
<library>/boost/scope_exit//boost_scope_exit
|
||||
<library>/boost/foreach//boost_foreach
|
||||
<library>/boost/rational//boost_rational
|
||||
;
|
||||
|
||||
rule run-vaseq ( target : requirements * )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user