1# Copyright ohn Maddock 2012 2# Distributed under the Boost Software License, Version 1.0. 3# (See accompanying file LICENSE_1_0.txt or copy at 4# http://www.boost.org/LICENSE_1_0.txt. 5 6import pch ; 7 8project 9 : requirements 10 <toolset>acc:<cxxflags>+W2068,2461,2236,4070,4069 11 <toolset>intel-win:<cxxflags>-nologo 12 <toolset>intel-win:<linkflags>-nologo 13 #<toolset>intel-linux:<pch>off 14 <toolset>intel-darwin:<pch>off 15 <toolset>msvc:<warnings>all 16 <toolset>msvc:<asynch-exceptions>on 17 <toolset>msvc:<cxxflags>/wd4996 18 <toolset>msvc:<cxxflags>/wd4511 # copy constructor could not be generated 19 <toolset>msvc:<cxxflags>/wd4512 20 <toolset>msvc:<cxxflags>/wd4610 21 <toolset>msvc:<cxxflags>/wd4510 22 <toolset>msvc:<cxxflags>/wd4127 23 <toolset>msvc:<cxxflags>/wd4701 # needed for lexical cast - temporary. 24 <toolset>msvc:<cxxflags>/wd4189 # local variable is initialized but not referenced 25 <toolset>msvc-7.1:<pch>off 26 <toolset>borland:<runtime-link>static 27 <include>../../../.. 28 # For simplicities sake, make everything a static lib: 29 <link>static 30 <define>BOOST_ALL_NO_LIB=1 31 <include>. 32 ; 33 34cpp-pch pch : pch.hpp ; 35 36path-constant here : . ; 37 38lib test_instances : [ GLOB $(here) : *.cpp ] pch 39 : <link>static ; 40