556 |
|
|
557 |
if platform.system()=="Windows": |
if platform.system()=="Windows": |
558 |
import SCons.Util |
import SCons.Util |
559 |
|
if SCons.Util.WhereIs('mingw32-gcc'): |
560 |
print ">>> mingw32-gcc at",SCons.Util.WhereIs('mingw32-gcc') |
print "mingw32-gcc found by SCons:",SCons.Util.WhereIs('mingw32-gcc') |
561 |
|
|
562 |
if os.environ.get('OSTYPE')=='msys' or os.environ.get('MSYSTEM'): |
if os.environ.get('OSTYPE')=='msys' or os.environ.get('MSYSTEM'): |
|
print "Detected MINGW" |
|
563 |
envenv = os.environ; |
envenv = os.environ; |
564 |
tools = ['mingw','lex','yacc','fortran','swig','disttar','nsis'] |
tools = ['mingw','lex','yacc','fortran','swig','disttar','nsis'] |
565 |
#TODO removed 'doxygen' for SCons 0.96.93 |
#TODO removed 'doxygen' for SCons 0.96.93 |