Make the library modular usable.

This commit is contained in:
Rene Rivera
2024-03-11 08:38:17 -05:00
parent 5c71cb33b9
commit d7603079fc
4 changed files with 27 additions and 11 deletions

11
Jamfile
View File

@@ -1,11 +0,0 @@
# Boost.Intrusive Library Jamfile
#
# Copyright (c) 2018 Ion Gaztanaga
#
# 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)
# please order by name to ease maintenance
build-project example ;
build-project test ;

24
build.jam Normal file
View File

@@ -0,0 +1,24 @@
# 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/intrusive
: common-requirements
<source>/boost/assert//boost_assert
<source>/boost/config//boost_config
<source>/boost/container_hash//boost_container_hash
<source>/boost/move//boost_move
<source>/boost/static_assert//boost_static_assert
<include>include
;
explicit
[ alias boost_intrusive ]
[ alias all : boost_intrusive example test ]
;
call-if : boost-library intrusive
;

View File

@@ -30,6 +30,7 @@ rule test_all
<toolset>gcc,<target-os>windows:<linkflags>"-lole32 -loleaut32" <toolset>gcc,<target-os>windows:<linkflags>"-lole32 -loleaut32"
<host-os>hpux,<toolset>gcc:<linkflags>"-Wl,+as,mpas" <host-os>hpux,<toolset>gcc:<linkflags>"-Wl,+as,mpas"
<host-os>windows,<toolset>clang:<linkflags>"-lole32 -loleaut32 -lpsapi -ladvapi32" <host-os>windows,<toolset>clang:<linkflags>"-lole32 -loleaut32 -lpsapi -ladvapi32"
<library>/boost/interprocess//boost_interprocess
] ; ] ;
} }

View File

@@ -25,6 +25,8 @@ rule test_all
: # test-files : # test-files
: # requirements : # requirements
<host-os>windows,<toolset>clang:<linkflags>"-lole32 -loleaut32 -lpsapi -ladvapi32" <host-os>windows,<toolset>clang:<linkflags>"-lole32 -loleaut32 -lpsapi -ladvapi32"
<library>/boost/core//boost_core
<library>/boost/container//boost_container
] ; ] ;
} }