]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/spirit/test/lex/Jamfile
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / spirit / test / lex / Jamfile
index de14c2c29c45c27fbd5e51ed7cb1c84cc51682e1..250656f11229790d34863defa546b89ff4c83bb2 100644 (file)
@@ -2,6 +2,7 @@
 #   Copyright (c) 2001-2011 Joel de Guzman
 #   Copyright (c) 2001-2012 Hartmut Kaiser
 #   Copyright (c)      2011 Bryce Lelbach
+#   Copyright (c) 2016-2019 Nikita Kniazev
 #
 #   Use, modification and distribution is subject to the Boost Software
 #   License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
@@ -22,6 +23,12 @@ project spirit-lex
 
 ###############################################################################
 
+cpp-pch pch : pch.hpp : : : <include>. <toolset>msvc:<cxxflags>"/FIpch.hpp" ;
+
+explicit pch ;
+
+###############################################################################
+
 local subproject-name = lex ;
 
 rule run ( sources + : args * : input-files *
@@ -29,21 +36,21 @@ rule run ( sources + : args * : input-files *
 {
     target-name ?= $(subproject-name)_$(sources[1]:D=:S=) ;
     return [ testing.run $(sources) : $(args) : $(input-files)
-           : $(requirements) : $(target-name) : $(default-build) ] ;
+           : $(requirements) <pch>on-spirit:<source>pch : $(target-name) : $(default-build) ] ;
 }
 
 rule compile ( sources + : requirements * : target-name ? )
 {
     target-name ?= $(subproject-name)_$(sources[1]:D=:S=) ;
     return [ testing.compile $(sources)
-           : $(requirements) : $(target-name) ] ;
+           : $(requirements) <pch>on-spirit:<source>pch : $(target-name) ] ;
 }
 
 rule compile-fail ( sources + : requirements * : target-name ? )
 {
     target-name ?= $(subproject-name)_$(sources[1]:D=:S=) ;
     return [ testing.compile-fail $(sources)
-           : $(requirements) : $(target-name) ] ;
+           : $(requirements) <pch>on-spirit:<source>pch : $(target-name) ] ;
 }
 
 ###############################################################################
@@ -88,7 +95,7 @@ run regression_syntax_error.cpp ;
 run regression_wide.cpp ;
 run regression_file_iterator1.cpp ;
 run regression_file_iterator2.cpp ;
-run regression_file_iterator3.cpp ;
+run regression_file_iterator3.cpp : : : <pch>off ;
 run regression_file_iterator4.cpp ;
 run regression_static_wide_6253.cpp ;
 run regression_less_8563.cpp ;