mirror of
https://github.com/boostorg/container.git
synced 2026-01-29 09:50:22 +01:00
- Dlmalloc's based C function are boost_cont_xxx no longer exported, but wrapped into C++ linkage dlmalloc_xxx functions to effectively reuse Boost's dynamic library and autolink machinery instead of rewriting machinery to compile the C source file. - Refactored scoped_allocator_adaptor's construct logic as it was shared with polymorphic allocator's one. Moved common logic to detail/dispatch_uses_allocator.hpp. Refactored also scoped_allocator_adaptor test utilities to be reused with polymorphic_allocator tests.
20 lines
739 B
Plaintext
20 lines
739 B
Plaintext
# (C) Copyright Vladimir Prus, David Abrahams, Michael Stevens, Hartmut Kaiser,
|
|
# Ion Gaztanaga 2007-2008
|
|
# 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)
|
|
|
|
project boost/container
|
|
: source-location ../src
|
|
: usage-requirements # pass these requirement to dependents (i.e. users)
|
|
<link>shared:<define>BOOST_CONTAINER_DYN_LINK=1
|
|
<link>static:<define>BOOST_CONTAINER_STATIC_LINK=1
|
|
;
|
|
|
|
lib boost_container
|
|
: alloc_lib.c [ glob *.cpp ]
|
|
: <link>shared:<define>BOOST_CONTAINER_DYN_LINK=1
|
|
<link>static:<define>BOOST_CONTAINER_STATIC_LINK=1
|
|
;
|
|
|
|
boost-install boost_container ; |