forked from boostorg/unordered
Add the build and documentation source files required for building the
standalone unordered containers. [SVN r4046]
This commit is contained in:
1 parent
1365ff3c96
commit
50d3138552
15 files changed
+102
-3753
No files matched your search
@@ -0,0 +1,58 @@
|
||||
#
|
||||
# Copyright (c) 2006 João Abecasis
|
||||
#
|
||||
# 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)
|
||||
#
|
||||
|
||||
##
|
||||
## IMPORTANT NOTE: This file MUST NOT be copied over a boost installation
|
||||
##
|
||||
|
||||
path-constant top : . ;
|
||||
|
||||
import modules ;
|
||||
import path ;
|
||||
|
||||
local boost-root = [ modules.peek : BOOST_ROOT ] ;
|
||||
local math-header-include = $(top)/../.. ;
|
||||
|
||||
if ! $(boost-root)
|
||||
{
|
||||
local boost-search-dirs = [ modules.peek : BOOST_BUILD_PATH ] ;
|
||||
|
||||
for local dir in $(boost-search-dirs)
|
||||
{
|
||||
if [ path.glob $(dir)/../../../ : boost/version.hpp ]
|
||||
{
|
||||
boost-root += $(dir)/../../../ ;
|
||||
}
|
||||
}
|
||||
|
||||
if $(boost-root)
|
||||
{
|
||||
boost-root = [ path.make $(boost-root[1]) ] ;
|
||||
}
|
||||
else
|
||||
{
|
||||
ECHO "Warning: couldn't find BOOST_ROOT in" $(boost-root) ;
|
||||
}
|
||||
}
|
||||
|
||||
use-project /boost/unit_test : $(boost-root)/libs/test/build ;
|
||||
|
||||
project unordered
|
||||
: requirements
|
||||
<include>$(boost-root)
|
||||
: # build everything in ./bin.v2
|
||||
build-dir bin.v2
|
||||
;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user