]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/spirit/test/karma/Jamfile
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / spirit / test / karma / Jamfile
index a03c90e5186edca582f5d87aaf5615b59d5f57d7..953bdb02aad1154cab64295436f8812b094ec087 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
@@ -20,6 +21,12 @@ project spirit-karma
 
 ###############################################################################
 
+cpp-pch pch : pch.hpp : : : <include>. <toolset>msvc:<cxxflags>"/FIpch.hpp" ;
+
+explicit pch ;
+
+###############################################################################
+
 local subproject-name = karma ;
 
 rule run ( sources + : args * : input-files *
@@ -27,21 +34,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) ] ;
 }
 
 ###############################################################################
@@ -70,7 +77,7 @@ run char2.cpp ;
 run char3.cpp ;
 run char_class.cpp ;
 run columns.cpp ;
-run debug.cpp ;
+run debug.cpp : : : <pch>off ;
 run delimiter.cpp ;
 run duplicate.cpp ;
 run encoding.cpp ;
@@ -127,4 +134,4 @@ run regression_real_0.cpp ;
 run regression_real_policy_sign.cpp ;
 run regression_real_scientific.cpp ;
 run regression_semantic_action_attribute.cpp ;
-run regression_unicode_char.cpp ;
+run regression_unicode_char.cpp : : : <pch>off ;