diff options
author | Steven Knight <knight@baldmt.com> | 2003-08-02 04:21:04 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2003-08-02 04:21:04 (GMT) |
commit | 7500d447bdc3bd94db8ffbc8b90298fd9479e8c3 (patch) | |
tree | 8fd61414ac1632db5a257cdff4f7e896432476d3 /src/engine/SCons/Tool/icc.py | |
parent | c60c5895032874ffdc0767648e5c7ff7fda94968 (diff) | |
download | SCons-7500d447bdc3bd94db8ffbc8b90298fd9479e8c3.zip SCons-7500d447bdc3bd94db8ffbc8b90298fd9479e8c3.tar.gz SCons-7500d447bdc3bd94db8ffbc8b90298fd9479e8c3.tar.bz2 |
Add support for a platform-independent CPPDEFINES variable.
Diffstat (limited to 'src/engine/SCons/Tool/icc.py')
-rw-r--r-- | src/engine/SCons/Tool/icc.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/engine/SCons/Tool/icc.py b/src/engine/SCons/Tool/icc.py index 42a179e..20bf17c 100644 --- a/src/engine/SCons/Tool/icc.py +++ b/src/engine/SCons/Tool/icc.py @@ -40,9 +40,12 @@ def generate(env): cc.generate(env) env['CC'] = 'icc' - env['CCCOM'] = '$CC $CCFLAGS $CPPFLAGS $_CPPINCFLAGS /c $SOURCES /Fo$TARGET' - env['CXXCOM'] = '$CXX $CXXFLAGS $CPPFLAGS $_CPPINCFLAGS /c $SOURCES /Fo$TARGET' + env['CCCOM'] = '$CC $CCFLAGS $CPPFLAGS $_CPPDEFFLAGS $_CPPINCFLAGS /c $SOURCES /Fo$TARGET' + env['CXXCOM'] = '$CXX $CXXFLAGS $CPPFLAGS $_CPPDEFFLAGS $_CPPINCFLAGS /c $SOURCES /Fo$TARGET' + env['CPPDEFPREFIX'] = '/D' + env['CPPDEFSUFFIX'] = '' env['INCPREFIX'] = '/I' + env['INCSUFFIX'] = '' env['CFILESUFFIX'] = '.c' env['CXXFILESUFFIX'] = '.cc' |