summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2009-01-21 18:07:09 (GMT)
committerSteven Knight <knight@baldmt.com>2009-01-21 18:07:09 (GMT)
commit6fd27b4af8a802c28743c3d334cf35b1afa2813c (patch)
tree81903518f3291e08597a181742e48407b3b876aa
parente9fd7c63ea40581ca9a71e4a8660ea02dd045ed0 (diff)
downloadSCons-6fd27b4af8a802c28743c3d334cf35b1afa2813c.zip
SCons-6fd27b4af8a802c28743c3d334cf35b1afa2813c.tar.gz
SCons-6fd27b4af8a802c28743c3d334cf35b1afa2813c.tar.bz2
Add /nologo to the PCH compilation to suppress Microsoft garp on stderr.
-rw-r--r--test/IDL/midl.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/IDL/midl.py b/test/IDL/midl.py
index 810edc1..88e0517 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)
""")