Add some preliminary options for building with msvc and waf
authorJohn Emmas <johne53@tiscali.co.uk>
Mon, 22 Dec 2014 17:41:02 +0000 (17:41 +0000)
committerJohn Emmas <johne53@tiscali.co.uk>
Mon, 22 Dec 2014 17:41:02 +0000 (17:41 +0000)
wscript

diff --git a/wscript b/wscript
index 9e8245c11c5ac3bb3a847b84f7e90a63af50407e..70c215e4bd49dbccd678db4b14258b50a9d64c4b 100644 (file)
--- a/wscript
+++ b/wscript
@@ -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',
     },
 }