diff options
author | John Emmas <johne53@tiscali.co.uk> | 2014-12-22 17:41:02 +0000 |
---|---|---|
committer | John Emmas <johne53@tiscali.co.uk> | 2014-12-22 17:41:02 +0000 |
commit | 1eda0bac19303037ee2c5a18e792218269529145 (patch) | |
tree | cbdbb3565cfae4e018839f669bad85729edfc92d /wscript | |
parent | 92376a657d85b80375fca1aba20af74a00fc1f29 (diff) |
Add some preliminary options for building with msvc and waf
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -55,16 +55,17 @@ compiler_flags_dictionaries= { 'c99': '-std=c99', }, 'msvc' : { - 'debuggable' : ['/Od', '/Zi', '/MTd'], - 'linker-debuggable' : ['/DEBUG' ], - 'nondebuggable' : [ '/MD', '-DNDEBUG' ], + 'debuggable' : ['/DDEBUG', '/Od', '/Zi', '/MDd', '/Gd', '/EHsc'], + 'linker-debuggable' : ['/DEBUG', '/INCREMENTAL' ], + 'nondebuggable' : ['/DNDEBUG', '/Ob1', '/MD', '/Gd', '/EHsc'], 'profile' : '', + 'sse' : '/arch:SSE', 'silence-unused-arguments' : '', 'sse' : '', 'fpmath-see' : '', 'xmmintrinsics' : '', 'pipe' : '', - 'full-optimization' : '', + 'full-optimization' : '/O2', 'no-frame-pointer' : '', 'fast-math' : '', 'strength-reduce' : '', @@ -78,7 +79,7 @@ compiler_flags_dictionaries= { 'c-strict' : '', 'cxx-strict' : '', 'strict' : '', - 'c99': '-TP', + 'c99': '/TP', }, } |