Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r77320 - trunk/libs/proto/preprocess
From: eric_at_[hidden]
Date: 2012-03-12 18:29:56


Author: eric_niebler
Date: 2012-03-12 18:29:55 EDT (Mon, 12 Mar 2012)
New Revision: 77320
URL: http://svn.boost.org/trac/boost/changeset/77320

Log:
make it easier to regenerate proto's preprocessed files
Added:
   trunk/libs/proto/preprocess/Jamfile.v2 (contents, props changed)
Text files modified:
   trunk/libs/proto/preprocess/wave.cfg | 10 ++++++++--
   1 files changed, 8 insertions(+), 2 deletions(-)

Added: trunk/libs/proto/preprocess/Jamfile.v2
==============================================================================
--- (empty file)
+++ trunk/libs/proto/preprocess/Jamfile.v2 2012-03-12 18:29:55 EDT (Mon, 12 Mar 2012)
@@ -0,0 +1,16 @@
+# (C) Copyright 2012: Eric Niebler
+# 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)
+
+# Generates preprocessed files with wave.
+
+actions wave
+{
+ $(>[2]) -o- -DBOOST_PROTO_MAX_ARITY=5 --config-file wave.cfg $(>[1])
+}
+
+W = ../../../tools/wave/build//wave ;
+
+make preprocess_proto
+ : preprocess_proto.cpp $(W) : wave
+ ;

Modified: trunk/libs/proto/preprocess/wave.cfg
==============================================================================
--- trunk/libs/proto/preprocess/wave.cfg (original)
+++ trunk/libs/proto/preprocess/wave.cfg 2012-03-12 18:29:55 EDT (Mon, 12 Mar 2012)
@@ -1,3 +1,9 @@
+# (C) Copyright 2012: Eric Niebler
+# 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)
+
+# NOTE: Some of the paths in this file may need to be changed for your system.
+
 -DBOOST_PROTO_DONT_USE_PREPROCESSED_FILES
 -DBOOST_PROTO_CREATE_PREPROCESSED_FILES
 -D_WIN32
@@ -10,7 +16,7 @@
 -NBOOST_PROTO_GET_POINTER
 -NBOOST_PROTO_ASSERT_VALID_DOMAIN
 -NBOOST_FORCEINLINE
--SC:\boost\org\trunk
--S"C:\Program Files\Microsoft Visual Studio 10.0\VC\include"
+-S../../..
+-S"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include"
 -S.
 --variadics


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