52 BoolOption('force_flags', "use only flags specified by 'flags' option (do not autodetect arch/sse flags)", False), |
52 BoolOption('force_flags', "use only flags specified by 'flags' option (do not autodetect arch/sse flags)", False), |
53 BoolOption('profile', "enable gcc's profiling support (-pg)", False), |
53 BoolOption('profile', "enable gcc's profiling support (-pg)", False), |
54 ) |
54 ) |
55 if env['PLATFORM'] == 'win32': |
55 if env['PLATFORM'] == 'win32': |
56 opt.AddOptions( |
56 opt.AddOptions( |
57 BoolOption('msvc', 'use Microsoft Visual C++ Compiler, if available', True), |
57 BoolOption('mingw', 'use Mingw and GCC compiler, if available', False), |
58 ('pythonpath', 'path to Python installation', |
58 ('pythonpath', 'path to Python installation', |
59 'C:\\Python%c%c' % (sys.version[0], sys.version[2])), |
59 'C:\\Python%c%c' % (sys.version[0], sys.version[2])), |
60 ) |
60 ) |
61 else: |
61 else: |
62 opt.AddOptions( |
62 opt.AddOptions( |
63 BoolOption('intelc', 'use Intel C++ Compiler, if available', True), |
63 BoolOption('intelc', 'use Intel C++ Compiler, if available', False), |
64 ) |
64 ) |
65 |
65 |
66 |
66 |
67 opt.Update(env) |
67 opt.Update(env) |
68 opt.Save('build/.optioncache', env) |
68 opt.Save('build/.optioncache', env) |