Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r70634 - branches/pplib/variadics
From: eldiener_at_[hidden]
Date: 2011-03-27 10:14:34


Author: eldiener
Date: 2011-03-27 10:14:33 EDT (Sun, 27 Mar 2011)
New Revision: 70634
URL: http://svn.boost.org/trac/boost/changeset/70634

Log:
Top-level jamfiles for testing from within the sandbox.
Added:
   branches/pplib/variadics/Jamfile.v2 (contents, props changed)
   branches/pplib/variadics/Jamroot.jam (contents, props changed)

Added: branches/pplib/variadics/Jamfile.v2
==============================================================================
--- (empty file)
+++ branches/pplib/variadics/Jamfile.v2 2011-03-27 10:14:33 EDT (Sun, 27 Mar 2011)
@@ -0,0 +1,17 @@
+#
+# Copyright 2010
+# Edward Diener
+#
+# This file is taken from the 'example' sandbox library
+#
+
+##
+## IMPORTANT NOTE: This file MUST NOT be copied over a boost installation
+##
+
+project preprocessor
+ : requirements
+ <include>.&&$(BOOST_ROOT)
+ :
+ build-dir bin.v2
+ ;
\ No newline at end of file

Added: branches/pplib/variadics/Jamroot.jam
==============================================================================
--- (empty file)
+++ branches/pplib/variadics/Jamroot.jam 2011-03-27 10:14:33 EDT (Sun, 27 Mar 2011)
@@ -0,0 +1,41 @@
+#
+# Copyright (c) 2011
+# Edward Diener
+#
+# This file is taken from the 'example' sandbox library
+#
+
+##
+## 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 ] ;
+
+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) ;
+ }
+}
+
+path-constant BOOST_ROOT : $(boost-root) ;
\ No newline at end of file


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk