diff options
author | Steven Knight <knight@baldmt.com> | 2004-04-10 07:35:32 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2004-04-10 07:35:32 (GMT) |
commit | 622d5777ae1e7db95933e3218a0619a764f20bd6 (patch) | |
tree | 27c321637161e64f419cc0b259c25205c2948417 /src/engine/SCons/Tool/msvc.py | |
parent | f8c2e8cf9666d85adbd85d0bc0dbebaca76fde08 (diff) | |
download | SCons-622d5777ae1e7db95933e3218a0619a764f20bd6.zip SCons-622d5777ae1e7db95933e3218a0619a764f20bd6.tar.gz SCons-622d5777ae1e7db95933e3218a0619a764f20bd6.tar.bz2 |
Add support for extending the suffixes a scanner knows about.
Diffstat (limited to 'src/engine/SCons/Tool/msvc.py')
-rw-r--r-- | src/engine/SCons/Tool/msvc.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/engine/SCons/Tool/msvc.py b/src/engine/SCons/Tool/msvc.py index 19fbf1d..1caa4db 100644 --- a/src/engine/SCons/Tool/msvc.py +++ b/src/engine/SCons/Tool/msvc.py @@ -448,9 +448,7 @@ def generate(env): env['RC'] = 'rc' env['RCFLAGS'] = SCons.Util.CLVar('') env['RCCOM'] = '$RC $_CPPDEFFLAGS $_CPPINCFLAGS $RCFLAGS /fo$TARGET $SOURCES' - CScan = env.get_scanner('.c') - if CScan: - CScan.add_skey('.rc') + env.Append(CPPSUFFIXES = ['.rc']) env['BUILDERS']['RES'] = res_builder try: |