Boost logo

Boost-Commit :

From: chochlik_at_[hidden]
Date: 2008-04-27 08:19:08


Author: matus.chochlik
Date: 2008-04-27 08:19:08 EDT (Sun, 27 Apr 2008)
New Revision: 44817
URL: http://svn.boost.org/trac/boost/changeset/44817

Log:
Added a Jamfile for building the examples and a sample Jamroot that can be used as a fallback if no better Jamroot is available.
Added:
   sandbox/mirror/libs/mirror/_Jamroot_sample (contents, props changed)
Text files modified:
   sandbox/mirror/libs/mirror/example/Jamfile.v2 | 32 ++++++++++++++++++++++++++------
   1 files changed, 26 insertions(+), 6 deletions(-)

Added: sandbox/mirror/libs/mirror/_Jamroot_sample
==============================================================================
--- (empty file)
+++ sandbox/mirror/libs/mirror/_Jamroot_sample 2008-04-27 08:19:08 EDT (Sun, 27 Apr 2008)
@@ -0,0 +1,33 @@
+# Mirror Library Examples Jamroot
+#
+# (C) Copyright Matus Chochlik 2008
+#
+# Distributed under the Boost Software License, Version 1.0.
+# (See accompanying file LICENSE_1_0.txt or www.boost.org/LICENSE_1_0.txt)
+#
+# This is a sample Jamroot file for the mirror library. You
+# can use this file in case You don't have a more suitable Jamroot.
+# This sample can be renamed to Jamroot and placed to the immediate
+# parent directory of the mirror root directory.
+# ie. You can have a */devel/ directory with this Jamroot, optionally
+# also with a boost_build.jam file and with the mirror/ folder containing
+# the sources of mirror.
+
+project mirror/examples
+ : requirements
+ <include>$(BOOST_ROOT)
+ # You can use one of the following if $(BOOST_ROOT) is not working
+ # <include>"C:/boost/boost_1_35_0"
+ # <include>"C:/users/_YourLogin_/boost/current"
+ # <include>"C:/Program Files/boost/current"
+ # <include>/opt/boost
+ # <include>/usr/local/include/boost
+ #
+ # You can optionally set up a new build directory instead of
+ # 'bin' in the folder where a Jamfile resided.
+ # Leaving this uncommented will make bjam build into a directory
+ # called _build in the folder where this Jamroot file is.
+ : build-dir _build
+ ;
+
+

Modified: sandbox/mirror/libs/mirror/example/Jamfile.v2
==============================================================================
--- sandbox/mirror/libs/mirror/example/Jamfile.v2 (original)
+++ sandbox/mirror/libs/mirror/example/Jamfile.v2 2008-04-27 08:19:08 EDT (Sun, 27 Apr 2008)
@@ -1,12 +1,32 @@
 # Mirror Library Examples Jamfile
-
 # (C) Copyright Matus Chochlik 2008
-
+#
 # Distributed under the Boost Software License, Version 1.0.
 # (See accompanying file LICENSE_1_0.txt or www.boost.org/LICENSE_1_0.txt)
+#
+# In addition to this Jamfile You will need a Jamroot file
+# for the 'mirror/examples' project, specifying the project
+# requirements mainly <include>/path/to/boost/root.
+# See accompanying _Jamroot_sample file for an example.
 
-
-project
+project mirror/examples
+ : requirements
+ <include>../../../ #the mirror library root
     ;
-
-exe prog : prog.cpp ;
+#
+# registering
+#
+exe reg_namespaces : registering/namespaces.cpp ;
+exe reg_types : registering/types.cpp ;
+exe reg_classes : registering/classes.cpp ;
+exe reg_virtual_bases : registering/virtual_bases.cpp ;
+#
+# special meta-types
+#
+exe spec_std_pair : special/std_pair.cpp ;
+exe spec_boost_tuple : special/boost_tuple.cpp ;
+#
+# cooperation with Boost.Serialization
+#
+#exe serial_cube : serialization/cube.cpp ;
+


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