Add some preliminary options for building with msvc and waf
This commit is contained in:
parent
92376a657d
commit
1eda0bac19
11
wscript
11
wscript
@ -55,16 +55,17 @@ compiler_flags_dictionaries= {
|
|||||||
'c99': '-std=c99',
|
'c99': '-std=c99',
|
||||||
},
|
},
|
||||||
'msvc' : {
|
'msvc' : {
|
||||||
'debuggable' : ['/Od', '/Zi', '/MTd'],
|
'debuggable' : ['/DDEBUG', '/Od', '/Zi', '/MDd', '/Gd', '/EHsc'],
|
||||||
'linker-debuggable' : ['/DEBUG' ],
|
'linker-debuggable' : ['/DEBUG', '/INCREMENTAL' ],
|
||||||
'nondebuggable' : [ '/MD', '-DNDEBUG' ],
|
'nondebuggable' : ['/DNDEBUG', '/Ob1', '/MD', '/Gd', '/EHsc'],
|
||||||
'profile' : '',
|
'profile' : '',
|
||||||
|
'sse' : '/arch:SSE',
|
||||||
'silence-unused-arguments' : '',
|
'silence-unused-arguments' : '',
|
||||||
'sse' : '',
|
'sse' : '',
|
||||||
'fpmath-see' : '',
|
'fpmath-see' : '',
|
||||||
'xmmintrinsics' : '',
|
'xmmintrinsics' : '',
|
||||||
'pipe' : '',
|
'pipe' : '',
|
||||||
'full-optimization' : '',
|
'full-optimization' : '/O2',
|
||||||
'no-frame-pointer' : '',
|
'no-frame-pointer' : '',
|
||||||
'fast-math' : '',
|
'fast-math' : '',
|
||||||
'strength-reduce' : '',
|
'strength-reduce' : '',
|
||||||
@ -78,7 +79,7 @@ compiler_flags_dictionaries= {
|
|||||||
'c-strict' : '',
|
'c-strict' : '',
|
||||||
'cxx-strict' : '',
|
'cxx-strict' : '',
|
||||||
'strict' : '',
|
'strict' : '',
|
||||||
'c99': '-TP',
|
'c99': '/TP',
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user