SConstruct
branchpyrit
changeset 94 4c8abb8977dc
parent 93 96d65f841791
child 95 ca7d4c665531
--- a/SConstruct	Tue May 06 09:39:58 2008 +0200
+++ b/SConstruct	Thu May 08 09:21:25 2008 +0200
@@ -54,13 +54,13 @@
 )
 if env['PLATFORM'] == 'win32':
 	opt.AddOptions(
-		BoolOption('msvc', 'use Microsoft Visual C++ Compiler, if available', True),
+		BoolOption('mingw', 'use Mingw and GCC compiler, if available', False),
 		('pythonpath', 'path to Python installation',
 			'C:\\Python%c%c' % (sys.version[0], sys.version[2])),
 	)
 else:
 	opt.AddOptions(
-		BoolOption('intelc', 'use Intel C++ Compiler, if available', True),
+		BoolOption('intelc', 'use Intel C++ Compiler, if available', False),
 	)
 
 
@@ -155,7 +155,7 @@
 if intelc and (not gcc or conf.env['intelc']):
 	Tool('intelc').generate(conf.env)
 	cc = 'intelc'
-elif msvc and (not gcc or conf.env['msvc']):
+elif msvc and (not gcc or not conf.env['mingw']):
 	Tool('default').generate(conf.env)
 	conf.Define("MSVC")
 	cc = 'msvc'