|
Boost-Commit : |
From: grafikrobot_at_[hidden]
Date: 2007-11-23 18:27:33
Author: grafik
Date: 2007-11-23 18:27:32 EST (Fri, 23 Nov 2007)
New Revision: 41321
URL: http://svn.boost.org/trac/boost/changeset/41321
Log:
Create individual example builds for the currently tested build extension libs.
Added:
sandbox/tools/build_extensions/example/
sandbox/tools/build_extensions/example/expat/
sandbox/tools/build_extensions/example/expat/build.jam (contents, props changed)
sandbox/tools/build_extensions/example/gif/
sandbox/tools/build_extensions/example/gif/build.jam (contents, props changed)
sandbox/tools/build_extensions/example/jpeg/
sandbox/tools/build_extensions/example/jpeg/build.jam (contents, props changed)
sandbox/tools/build_extensions/example/libtiff/
sandbox/tools/build_extensions/example/libtiff/build.jam (contents, props changed)
sandbox/tools/build_extensions/example/lua/
sandbox/tools/build_extensions/example/lua/build.jam (contents, props changed)
sandbox/tools/build_extensions/example/mng/
sandbox/tools/build_extensions/example/mng/build.jam (contents, props changed)
sandbox/tools/build_extensions/example/osg/
sandbox/tools/build_extensions/example/osg/build.jam (contents, props changed)
sandbox/tools/build_extensions/example/png/
sandbox/tools/build_extensions/example/png/build.jam (contents, props changed)
sandbox/tools/build_extensions/example/tinyxml/
sandbox/tools/build_extensions/example/tinyxml/build.jam (contents, props changed)
sandbox/tools/build_extensions/example/zlib/
sandbox/tools/build_extensions/example/zlib/build.jam (contents, props changed)
Text files modified:
sandbox/tools/build_extensions/project-root.jam | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
Added: sandbox/tools/build_extensions/example/expat/build.jam
==============================================================================
--- (empty file)
+++ sandbox/tools/build_extensions/example/expat/build.jam 2007-11-23 18:27:32 EST (Fri, 23 Nov 2007)
@@ -0,0 +1,14 @@
+#~ Copyright 2006 Redshift Software, Inc.
+#~ Copyright 2007 Couch World Games Inc.
+#~ 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)
+
+using expat : 2.0.0 : $(PACKAGES)/expat-2.0.0 ;
+
+import stage ;
+
+install stage-lib
+ : /ext/expat//expat
+ : <location>$(STAGE_ROOT)/lib <install-dependencies>on <install-type>LIB
+ ;
Added: sandbox/tools/build_extensions/example/gif/build.jam
==============================================================================
--- (empty file)
+++ sandbox/tools/build_extensions/example/gif/build.jam 2007-11-23 18:27:32 EST (Fri, 23 Nov 2007)
@@ -0,0 +1,14 @@
+#~ Copyright 2006 Redshift Software, Inc.
+#~ Copyright 2007 Couch World Games Inc.
+#~ 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)
+
+using gif : 4.1.4 : $(PACKAGES)/giflib-4.1.4 ;
+
+import stage ;
+
+install stage-lib
+ : /ext/gif//gif
+ : <location>$(STAGE_ROOT)/lib <install-dependencies>on <install-type>LIB
+ ;
Added: sandbox/tools/build_extensions/example/jpeg/build.jam
==============================================================================
--- (empty file)
+++ sandbox/tools/build_extensions/example/jpeg/build.jam 2007-11-23 18:27:32 EST (Fri, 23 Nov 2007)
@@ -0,0 +1,14 @@
+#~ Copyright 2006 Redshift Software, Inc.
+#~ Copyright 2007 Couch World Games Inc.
+#~ 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)
+
+using jpeg : 6.b : $(PACKAGES)/jpeg-6b ;
+
+import stage ;
+
+install stage-lib
+ : /ext/jpeg//jpeg
+ : <location>$(STAGE_ROOT)/lib <install-dependencies>on <install-type>LIB
+ ;
Added: sandbox/tools/build_extensions/example/libtiff/build.jam
==============================================================================
--- (empty file)
+++ sandbox/tools/build_extensions/example/libtiff/build.jam 2007-11-23 18:27:32 EST (Fri, 23 Nov 2007)
@@ -0,0 +1,16 @@
+#~ Copyright 2006 Redshift Software, Inc.
+#~ Copyright 2007 Couch World Games Inc.
+#~ 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)
+
+using zlib : 1.2.3 : $(PACKAGES)/zlib-1.2.3 ;
+using jpeg : 6.b : $(PACKAGES)/jpeg-6b ;
+using libtiff : 3.8.2 : $(PACKAGES)/tiff-3.8.2 ;
+
+import stage ;
+
+install stage-lib
+ : /ext/libtiff//tiff
+ : <location>$(STAGE_ROOT)/lib <install-dependencies>on <install-type>LIB
+ ;
Added: sandbox/tools/build_extensions/example/lua/build.jam
==============================================================================
--- (empty file)
+++ sandbox/tools/build_extensions/example/lua/build.jam 2007-11-23 18:27:32 EST (Fri, 23 Nov 2007)
@@ -0,0 +1,21 @@
+#~ Copyright 2006 Redshift Software, Inc.
+#~ Copyright 2007 Couch World Games Inc.
+#~ 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)
+
+using lua : 5.1.1 : $(PACKAGES)/lua-5.1.1 ;
+
+import stage ;
+
+install stage-lib
+ :
+ /ext/lua//luai
+ : <location>$(STAGE_ROOT)/lib <install-dependencies>on <install-type>LIB
+ ;
+install stage-bin
+ :
+ /ext/lua//lua
+ /ext/lua//luac
+ : <location>$(STAGE_ROOT)/bin <install-dependencies>on <install-type>EXE
+ ;
Added: sandbox/tools/build_extensions/example/mng/build.jam
==============================================================================
--- (empty file)
+++ sandbox/tools/build_extensions/example/mng/build.jam 2007-11-23 18:27:32 EST (Fri, 23 Nov 2007)
@@ -0,0 +1,16 @@
+#~ Copyright 2006 Redshift Software, Inc.
+#~ Copyright 2007 Couch World Games Inc.
+#~ 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)
+
+using zlib : 1.2.3 : $(PACKAGES)/zlib-1.2.3 ;
+using jpeg : 6.b : $(PACKAGES)/jpeg-6b ;
+using mng : 1.0.9 : $(PACKAGES)/libmng-1.0.9 ;
+
+import stage ;
+
+install stage-lib
+ : /ext/mng//mng
+ : <location>$(STAGE_ROOT)/lib <install-dependencies>on <install-type>LIB
+ ;
Added: sandbox/tools/build_extensions/example/osg/build.jam
==============================================================================
--- (empty file)
+++ sandbox/tools/build_extensions/example/osg/build.jam 2007-11-23 18:27:32 EST (Fri, 23 Nov 2007)
@@ -0,0 +1,22 @@
+#~ Copyright 2006 Redshift Software, Inc.
+#~ Copyright 2007 Couch World Games Inc.
+#~ 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)
+
+using zlib : 1.2.3 : $(PACKAGES)/zlib-1.2.3 ;
+using png : 1.2.12 : $(PACKAGES)/libpng-1.2.12 ;
+using jpeg : 6.b : $(PACKAGES)/jpeg-6b ;
+using libtiff : 3.8.2 : $(PACKAGES)/tiff-3.8.2 ;
+using osg : 2.2 : $(PACKAGES)/OpenSceneGraph-2.2.0 ;
+
+import stage ;
+
+install stage-lib
+ : /ext/osg
+ : <location>$(STAGE_ROOT)/lib <install-dependencies>on <install-type>LIB
+ ;
+install stage-bin
+ : /ext/osg
+ : <location>$(STAGE_ROOT)/lib <install-dependencies>on <install-type>EXE
+ ;
Added: sandbox/tools/build_extensions/example/png/build.jam
==============================================================================
--- (empty file)
+++ sandbox/tools/build_extensions/example/png/build.jam 2007-11-23 18:27:32 EST (Fri, 23 Nov 2007)
@@ -0,0 +1,15 @@
+#~ Copyright 2006 Redshift Software, Inc.
+#~ Copyright 2007 Couch World Games Inc.
+#~ 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)
+
+using zlib : 1.2.3 : $(PACKAGES)/zlib-1.2.3 ;
+using png : 1.2.12 : $(PACKAGES)/libpng-1.2.12 ;
+
+import stage ;
+
+install stage-lib
+ : /ext/png//png
+ : <location>$(STAGE_ROOT)/lib <install-dependencies>on <install-type>LIB
+ ;
Added: sandbox/tools/build_extensions/example/tinyxml/build.jam
==============================================================================
--- (empty file)
+++ sandbox/tools/build_extensions/example/tinyxml/build.jam 2007-11-23 18:27:32 EST (Fri, 23 Nov 2007)
@@ -0,0 +1,14 @@
+#~ Copyright 2006 Redshift Software, Inc.
+#~ Copyright 2007 Couch World Games Inc.
+#~ 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)
+
+using tinyxml : 2.5.0 : $(PACKAGES)/TinyXml-2.5.0 : --enable-stl ;
+
+import stage ;
+
+install stage-lib
+ : /ext/tinyxml//tinyxml
+ : <location>$(STAGE_ROOT)/lib <install-dependencies>on <install-type>LIB
+ ;
Added: sandbox/tools/build_extensions/example/zlib/build.jam
==============================================================================
--- (empty file)
+++ sandbox/tools/build_extensions/example/zlib/build.jam 2007-11-23 18:27:32 EST (Fri, 23 Nov 2007)
@@ -0,0 +1,14 @@
+#~ Copyright 2006 Redshift Software, Inc.
+#~ Copyright 2007 Couch World Games Inc.
+#~ 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)
+
+using zlib : 1.2.3 : $(PACKAGES)/zlib-1.2.3 ;
+
+import stage ;
+
+install stage
+ : /ext/zlib//z
+ : <location>$(STAGE_ROOT)/lib <install-dependencies>on <install-type>LIB
+ ;
Modified: sandbox/tools/build_extensions/project-root.jam
==============================================================================
--- sandbox/tools/build_extensions/project-root.jam (original)
+++ sandbox/tools/build_extensions/project-root.jam 2007-11-23 18:27:32 EST (Fri, 23 Nov 2007)
@@ -8,6 +8,15 @@
ECHO "--- " [ PWD ] "..." ;
ECHO "--- " ;
+import os ;
+import modules ;
+
project build-extensions
: build-dir bin
;
+
+path-constant STAGE_ROOT : ./stage ;
+
+path-constant PACKAGES : [ MATCH --packages=(.*) : [ modules.peek : ARGV ] ] ;
+path-constant BOOST_ROOT(TRUNK) : [ modules.peek : BOOST_ROOT ] ;
+path-constant BOOST_ROOT(RELEASE) : [ MATCH --boost-release=(.*) : [ modules.peek : ARGV ] ] ;
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