summaryrefslogtreecommitdiffstats
path: root/test/IDL
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2010-06-06 02:00:29 (GMT)
committerSteven Knight <knight@baldmt.com>2010-06-06 02:00:29 (GMT)
commit0687b6310bae6a26d3831634a79428b99fff652b (patch)
tree77b6821b2c31cb44abcd200fdf6b705661203423 /test/IDL
parent8017dcc95f32ab9fcae6a6c1260b5676cc8fe9f8 (diff)
downloadSCons-0687b6310bae6a26d3831634a79428b99fff652b.zip
SCons-0687b6310bae6a26d3831634a79428b99fff652b.tar.gz
SCons-0687b6310bae6a26d3831634a79428b99fff652b.tar.bz2
Explicitly initialize the construction environment with tools = ['mssdk',
'msvc', 'mslink', 'midl'], so the test can actually find and compile against things like the atlbase.h file.
Diffstat (limited to 'test/IDL')
-rw-r--r--test/IDL/midl.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/IDL/midl.py b/test/IDL/midl.py
index a2fd2a7..08b604e 100644
--- a/test/IDL/midl.py
+++ b/test/IDL/midl.py
@@ -41,7 +41,8 @@ if sys.platform != 'win32':
test.write('SConstruct',"""
import os
-env = Environment(CPPPATH = '${TARGET.dir}')
+env = Environment(CPPPATH = '${TARGET.dir}',
+ tools = ['mssdk', 'msvc', 'mslink', 'midl'])
Export('env')
VariantDir('build', 'src')