Link with static runtime library for Release build
This commit is contained in:
parent
a45af78b15
commit
3d01930122
1 changed files with 2 additions and 1 deletions
|
@ -54,7 +54,6 @@
|
||||||
],
|
],
|
||||||
'msvs_settings': {
|
'msvs_settings': {
|
||||||
'VCCLCompilerTool': {
|
'VCCLCompilerTool': {
|
||||||
'RuntimeLibrary': '2', # /MD (nondebug DLL)
|
|
||||||
'AdditionalOptions': ['/MP'],
|
'AdditionalOptions': ['/MP'],
|
||||||
'MinimalRebuild': 'false',
|
'MinimalRebuild': 'false',
|
||||||
'BufferSecurityCheck': 'true',
|
'BufferSecurityCheck': 'true',
|
||||||
|
@ -226,6 +225,7 @@
|
||||||
],
|
],
|
||||||
'msvs_settings': {
|
'msvs_settings': {
|
||||||
'VCCLCompilerTool': {
|
'VCCLCompilerTool': {
|
||||||
|
'RuntimeLibrary': '2', # /MD (nondebug DLL)
|
||||||
'Optimization': '0', # 0 = /Od
|
'Optimization': '0', # 0 = /Od
|
||||||
# See http://msdn.microsoft.com/en-us/library/8wtf2dfz(VS.71).aspx
|
# See http://msdn.microsoft.com/en-us/library/8wtf2dfz(VS.71).aspx
|
||||||
'BasicRuntimeChecks': '3', # 3 = all checks enabled, 0 = off
|
'BasicRuntimeChecks': '3', # 3 = all checks enabled, 0 = off
|
||||||
|
@ -236,6 +236,7 @@
|
||||||
'abstract': 1,
|
'abstract': 1,
|
||||||
'msvs_settings': {
|
'msvs_settings': {
|
||||||
'VCCLCompilerTool': {
|
'VCCLCompilerTool': {
|
||||||
|
'RuntimeLibrary': '0', # /MT (nondebug static)
|
||||||
# 1, optimizeMinSpace, Minimize Size (/O1)
|
# 1, optimizeMinSpace, Minimize Size (/O1)
|
||||||
'Optimization': '1',
|
'Optimization': '1',
|
||||||
# 2, favorSize - Favor small code (/Os)
|
# 2, favorSize - Favor small code (/Os)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue