1 # Copyright (C) 2006 Vladimir Prus
2 # Copyright (C) 2006 Arkadiy Vertleyb
3 # Use, modification and distribution is subject to the Boost Software
4 # License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt)
6 # Boost Typeof Library test Jamfile
11 # The special requirement is not ported yet.
13 #local rule special-requirements ( toolset variant : properties * )
15 # # Tru64/CXX6.5 hangs on most tests, so just turn it off completely.
17 # if $(UNIX) && $(OS) = OSF
21 # case tru64cxx65* : properties =
22 # [ replace-properties $(properties) : <build>no ] ;
26 # return $(properties) ;
29 rule typeof-test ( source )
31 return [ compile $(source) : <define>BOOST_TYPEOF_NATIVE :
33 [ compile $(source) : <define>BOOST_TYPEOF_EMULATION :
34 $(source:B)_emulation ]
41 # for local t in [ set.difference [ glob *.cpp ] : odr1.cpp odr2.cpp ]
42 for local t in [ set.difference [ glob *.cpp ] : [ glob odr*.cpp ] ]
44 all += [ typeof-test $(t) ] ;
46 all += [ run odr1.cpp odr2.cpp : : : <define>BOOST_TYPEOF_NATIVE :
48 all += [ run odr1.cpp odr2.cpp : : : <define>BOOST_TYPEOF_EMULATION :
50 all += [ run odr_no_uns1.cpp odr_no_uns2.cpp : : : <define>BOOST_TYPEOF_EMULATION :