|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r80729 - trunk/libs/phoenix/preprocess
From: eric_at_[hidden]
Date: 2012-09-27 23:48:42
Author: eric_niebler
Date: 2012-09-27 23:48:41 EDT (Thu, 27 Sep 2012)
New Revision: 80729
URL: http://svn.boost.org/trac/boost/changeset/80729
Log:
jamfile and wave.cfg tweaks for easier and better phoenix preprocessing
Added:
trunk/libs/phoenix/preprocess/Jamfile.v2 (contents, props changed)
trunk/libs/phoenix/preprocess/wave-msvc-10.0.cfg (contents, props changed)
Text files modified:
trunk/libs/phoenix/preprocess/wave.cfg | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
Added: trunk/libs/phoenix/preprocess/Jamfile.v2
==============================================================================
--- (empty file)
+++ trunk/libs/phoenix/preprocess/Jamfile.v2 2012-09-27 23:48:41 EDT (Thu, 27 Sep 2012)
@@ -0,0 +1,39 @@
+# (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.
+
+import feature ;
+import toolset ;
+
+feature.feature phoenix-limit : : free ;
+toolset.flags wave PHOENIX-LIMIT <phoenix-limit> ;
+
+actions wave bind PHOENIX-LIMIT
+{
+ echo Preprocessing with BOOST_PHOENIX_LIMIT=$(PHOENIX-LIMIT)...
+ $(>[2]) -o- -DBOOST_PHOENIX_LIMIT=$(PHOENIX-LIMIT) --config-file wave.cfg $(>[1])
+}
+
+W = ../../../tools/wave/build//wave ;
+
+make preprocess_phoenix_10
+ : preprocess_phoenix.cpp $(W) : wave : <phoenix-limit>10
+ ;
+
+make preprocess_phoenix_20
+ : preprocess_phoenix.cpp $(W) : wave : <phoenix-limit>20
+ ;
+
+make preprocess_phoenix_30
+ : preprocess_phoenix.cpp $(W) : wave : <phoenix-limit>30
+ ;
+
+make preprocess_phoenix_40
+ : preprocess_phoenix.cpp $(W) : wave : <phoenix-limit>40
+ ;
+
+make preprocess_phoenix_50
+ : preprocess_phoenix.cpp $(W) : wave : <phoenix-limit>50
+ ;
Added: trunk/libs/phoenix/preprocess/wave-msvc-10.0.cfg
==============================================================================
--- (empty file)
+++ trunk/libs/phoenix/preprocess/wave-msvc-10.0.cfg 2012-09-27 23:48:41 EDT (Thu, 27 Sep 2012)
@@ -0,0 +1,21 @@
+-DBOOST_PHOENIX_DONT_USE_PREPROCESSED_FILES
+-DBOOST_PHOENIX_CREATE_PREPROCESSED_FILES
+-S../../..
+-S"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include"
+-S.
+--variadics
+-D_WIN32
+-NBOOST_STATIC_ASSERT
+-NBOOST_STATIC_CONSTANT
+-NBOOST_MPL_HAS_XXX_TRAIT_DEF
+-NBOOST_MPL_ASSERT_MSG
+-NBOOST_FORCEINLINE
+-NBOOST_MPL_ASSERT
+-NBOOST_MPL_ASSERT_MSG
+-NBOOST_MPL_ASSERT_RELATION
+-NBOOST_PROTO_USE_GET_POINTER
+-NBOOST_PROTO_GET_POINTER
+-NBOOST_PROTO_CALLABLE
+-NBOOST_PROTO_TRANSFORM
+-NBOOST_FUSION_ADAPT_TPL_STRUCT_NO_PARTIAL
+--timer
Modified: trunk/libs/phoenix/preprocess/wave.cfg
==============================================================================
--- trunk/libs/phoenix/preprocess/wave.cfg (original)
+++ trunk/libs/phoenix/preprocess/wave.cfg 2012-09-27 23:48:41 EDT (Thu, 27 Sep 2012)
@@ -15,6 +15,16 @@
-S/usr/include
--variadics
-NBOOST_FUSION_ADAPT_TPL_STRUCT_NO_PARTIAL
+-NBOOST_STATIC_ASSERT
+-NBOOST_STATIC_CONSTANT
+-NBOOST_MPL_HAS_XXX_TRAIT_DEF
+-NBOOST_MPL_ASSERT_MSG
+-NBOOST_FORCEINLINE
+-NBOOST_MPL_ASSERT
+-NBOOST_MPL_ASSERT_MSG
+-NBOOST_MPL_ASSERT_RELATION
-NBOOST_PROTO_USE_GET_POINTER
-NBOOST_PROTO_GET_POINTER
+-NBOOST_PROTO_CALLABLE
+-NBOOST_PROTO_TRANSFORM
--timer
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