From 9a41d53eb1b2b1745dfc94fd7e02bafa4fb8fb96 Mon Sep 17 00:00:00 2001 From: stevenknight Date: Wed, 21 Jan 2009 18:07:09 +0000 Subject: [PATCH] Add /nologo to the PCH compilation to suppress Microsoft garp on stderr. git-svn-id: http://scons.tigris.org/svn/scons/trunk@3914 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- test/IDL/midl.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/IDL/midl.py b/test/IDL/midl.py index 810edc12..88e0517a 100644 --- a/test/IDL/midl.py +++ b/test/IDL/midl.py @@ -44,8 +44,7 @@ test.write('SConstruct',""" import os.path import os -env = Environment(CCFLAGS = ' -nologo ', - CPPPATH = '${TARGET.dir}', +env = Environment(CPPPATH = '${TARGET.dir}', MSVS_USE_MFC_DIRS = 1) Export('env') @@ -75,7 +74,7 @@ local.TypeLibrary('bar.idl') local.SharedLibrary(target = 'bar.dll', source = barsrc, - PCH=local.PCH('BarPCH.cpp')[0], + PCH=local.PCH('BarPCH.cpp', CXXFLAGS='/nologo')[0], PCHSTOP = 'BarPCH.h', register=1) """) -- 2.26.2