|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r67054 - sandbox/tti
From: eldiener_at_[hidden]
Date: 2010-12-05 20:30:57
Author: eldiener
Date: 2010-12-05 20:30:57 EST (Sun, 05 Dec 2010)
New Revision: 67054
URL: http://svn.boost.org/trac/boost/changeset/67054
Log:
Adding top level jamfiles
Added:
sandbox/tti/Jamfile.v2 (contents, props changed)
sandbox/tti/Jamroot.jam (contents, props changed)
Added: sandbox/tti/Jamfile.v2
==============================================================================
--- (empty file)
+++ sandbox/tti/Jamfile.v2 2010-12-05 20:30:57 EST (Sun, 05 Dec 2010)
@@ -0,0 +1,14 @@
+#
+# Copyright 2010
+# Edward Diener
+#
+# This file is taken from the 'example' sandbox library
+#
+
+project tti
+ : requirements
+ <include>.
+ <include>$(BOOST_ROOT)
+ :
+ build-dir bin.v2
+ ;
\ No newline at end of file
Added: sandbox/tti/Jamroot.jam
==============================================================================
--- (empty file)
+++ sandbox/tti/Jamroot.jam 2010-12-05 20:30:57 EST (Sun, 05 Dec 2010)
@@ -0,0 +1,41 @@
+#
+# Copyright (c) 2010
+# 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