#~ (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
import testing ;
+import cast ;
project preprocessor_tests : requirements <warnings>on
<toolset>gcc-4.3.0:<warnings>all
alias preprocessor_isempty
:
[ compile isempty.cpp ]
+ [ compile checkempty.cpp ]
[ compile-fail isempty_variadic_standard_failure.cpp : <define>BOOST_PP_VARIADICS=1 ]
[ compile-fail isempty_variadic_standard_failure2.cpp : <define>BOOST_PP_VARIADICS=1 ]
+ [ compile vaopt.cpp ]
;
alias preprocessor_isempty_nvm
:
[ run config_info.cpp ]
;
+
+alias test_clang_cuda
+ :
+ [ compile [ cast _ cpp : clang_cuda.cu ]
+ : <cxxflags>-nocudalib
+ <cxxflags>-nocudainc
+ <cxxflags>"-x cuda"
+ : clang_cuda_cu
+ ]
+ ;
+
+explicit test_clang_cuda ;