mirror of
https://github.com/boostorg/preprocessor.git
synced 2025-06-30 06:20:57 +02:00
Compare commits
8 Commits
boost-1.34
...
boost-1.40
Author | SHA1 | Date | |
---|---|---|---|
3d12c61526 | |||
0decc801d5 | |||
6cee861d4b | |||
32f92a1431 | |||
4507d79106 | |||
80f57a0284 | |||
6a5b3283fc | |||
f3461db9c7 |
28
CMakeLists.txt
Normal file
28
CMakeLists.txt
Normal file
@ -0,0 +1,28 @@
|
||||
#
|
||||
# Copyright Troy D. Straszheim
|
||||
#
|
||||
# Distributed under the Boost Software License, Version 1.0.
|
||||
# See http://www.boost.org/LICENSE_1_0.txt
|
||||
#
|
||||
#----------------------------------------------------------------------------
|
||||
# This file was automatically generated from the original CMakeLists.txt file
|
||||
# Add a variable to hold the headers for the library
|
||||
set (lib_headers
|
||||
preprocessor.hpp
|
||||
preprocessor
|
||||
)
|
||||
|
||||
# Add a library target to the build system
|
||||
boost_library_project(
|
||||
preprocessor
|
||||
# SRCDIRS
|
||||
TESTDIRS test
|
||||
HEADERS ${lib_headers}
|
||||
# DOCDIRS
|
||||
# DESCRIPTION
|
||||
MODULARIZED
|
||||
# AUTHORS
|
||||
# MAINTAINERS
|
||||
)
|
||||
|
||||
|
@ -42,7 +42,7 @@
|
||||
</dd>
|
||||
<dt>[flags]</dt>
|
||||
<dd>
|
||||
A quoted or angle-bracketed filename to used as the target of a <i>file-iteration</i>.
|
||||
The flags associated with this <i>file-iteration</i> used to discriminate between different <i>file-iterations</i> in the same file.
|
||||
</dd>
|
||||
</dl>
|
||||
<h4>Remarks</h4>
|
||||
|
@ -35,7 +35,7 @@
|
||||
# define BOOST_PP_CHECK_3(im) BOOST_PP_CHECK_5(BOOST_PP_CHECK_4 im)
|
||||
# define BOOST_PP_CHECK_4(res, _) res
|
||||
# define BOOST_PP_CHECK_5(res) res
|
||||
# else // DMC
|
||||
# else /* DMC */
|
||||
# define BOOST_PP_CHECK_D(x, type) BOOST_PP_CHECK_OO((type x))
|
||||
# define BOOST_PP_CHECK_OO(par) BOOST_PP_CHECK_0 ## par
|
||||
# define BOOST_PP_CHECK_0(chk) BOOST_PP_CHECK_1(BOOST_PP_CAT(BOOST_PP_CHECK_RESULT_, chk))
|
||||
|
4
module.cmake
Normal file
4
module.cmake
Normal file
@ -0,0 +1,4 @@
|
||||
# Preprocessor does not depend on anything else
|
||||
|
||||
|
||||
|
23
test/CMakeLists.txt
Normal file
23
test/CMakeLists.txt
Normal file
@ -0,0 +1,23 @@
|
||||
#
|
||||
# Copyright Troy D. Straszheim
|
||||
#
|
||||
# Distributed under the Boost Software License, Version 1.0.
|
||||
# See http://www.boost.org/LICENSE_1_0.txt
|
||||
#
|
||||
boost_additional_test_dependencies(preprocessor BOOST_DEPENDS test)
|
||||
|
||||
|
||||
boost_test_compile(arithmetic)
|
||||
boost_test_compile(array)
|
||||
boost_test_compile(comparison)
|
||||
boost_test_compile(control)
|
||||
boost_test_compile(debug)
|
||||
boost_test_compile(facilities)
|
||||
boost_test_compile(iteration)
|
||||
boost_test_compile(list)
|
||||
boost_test_compile(logical)
|
||||
boost_test_compile(repetition)
|
||||
boost_test_compile(selection)
|
||||
boost_test_compile(seq)
|
||||
boost_test_compile(slot)
|
||||
boost_test_compile(tuple)
|
22
test/Jamfile.v2
Normal file
22
test/Jamfile.v2
Normal file
@ -0,0 +1,22 @@
|
||||
#~ Copyright Rene Rivera 2008
|
||||
#~ 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)
|
||||
|
||||
import testing ;
|
||||
|
||||
test-suite preprocessor
|
||||
: [ compile arithmetic.cpp ]
|
||||
[ compile array.cpp ]
|
||||
[ compile comparison.cpp ]
|
||||
[ compile control.cpp ]
|
||||
[ compile debug.cpp ]
|
||||
[ compile facilities.cpp ]
|
||||
[ compile iteration.cpp ]
|
||||
[ compile list.cpp ]
|
||||
[ compile logical.cpp ]
|
||||
[ compile repetition.cpp ]
|
||||
[ compile selection.cpp ]
|
||||
[ compile seq.cpp ]
|
||||
[ compile slot.cpp ]
|
||||
[ compile tuple.cpp ]
|
||||
;
|
Reference in New Issue
Block a user