diff options
Diffstat (limited to 'src/boost/libs/proto/preprocess')
-rw-r--r-- | src/boost/libs/proto/preprocess/Jamfile.v2 | 18 | ||||
-rw-r--r-- | src/boost/libs/proto/preprocess/preprocess_proto.cpp | 10 | ||||
-rw-r--r-- | src/boost/libs/proto/preprocess/wave.cfg | 27 |
3 files changed, 55 insertions, 0 deletions
diff --git a/src/boost/libs/proto/preprocess/Jamfile.v2 b/src/boost/libs/proto/preprocess/Jamfile.v2 new file mode 100644 index 000000000..04b7cce03 --- /dev/null +++ b/src/boost/libs/proto/preprocess/Jamfile.v2 @@ -0,0 +1,18 @@ +# (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. + +project : requirements <link>static <variant>release ; + +actions wave +{ + $(>[2]) -o- -DBOOST_PROTO_MAX_ARITY=10 --config-file wave.cfg $(>[1]) +} + +W = /boost/libs/wave/tool//wave ; + +make preprocess_proto + : preprocess_proto.cpp $(W) : wave : <dependency>wave.cfg + ; diff --git a/src/boost/libs/proto/preprocess/preprocess_proto.cpp b/src/boost/libs/proto/preprocess/preprocess_proto.cpp new file mode 100644 index 000000000..b1023f0dc --- /dev/null +++ b/src/boost/libs/proto/preprocess/preprocess_proto.cpp @@ -0,0 +1,10 @@ +/////////////////////////////////////////////////////////////////////////////// +// Copyright 2011 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) + +#include "../include/boost/proto/core.hpp" +#include "../include/boost/proto/debug.hpp" +#include "../include/boost/proto/context.hpp" +#include "../include/boost/proto/transform.hpp" +#include "../include/boost/proto/functional.hpp" diff --git a/src/boost/libs/proto/preprocess/wave.cfg b/src/boost/libs/proto/preprocess/wave.cfg new file mode 100644 index 000000000..b0059003b --- /dev/null +++ b/src/boost/libs/proto/preprocess/wave.cfg @@ -0,0 +1,27 @@ +# (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 +-NBOOST_STATIC_ASSERT +-NBOOST_PROTO_TEMPLATE_ARITY_PARAM +-NBOOST_PROTO_RESULT_OF +-NBOOST_PROTO_DISABLE_IF_IS_CONST +-NBOOST_PROTO_DISABLE_IF_IS_FUNCTION +-NBOOST_PROTO_USE_GET_POINTER +-NBOOST_PROTO_GET_POINTER +-NBOOST_PROTO_ASSERT_VALID_DOMAIN +-NBOOST_PROTO_RETURN_TYPE_STRICT_LOOSE +-NBOOST_FORCEINLINE +-NBOOST_MPL_ASSERT +-NBOOST_MPL_ASSERT_MSG +-NBOOST_MPL_ASSERT_RELATION +-S../include +-S../../.. +-S"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include" +-S. +--variadics |