Add some build defaults for Windows
These came from Chromium's build/common.gypi file.
This commit is contained in:
parent
689496afb8
commit
ae7331da82
1 changed files with 44 additions and 0 deletions
|
@ -31,14 +31,58 @@
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
'configurations': {
|
'configurations': {
|
||||||
|
'Common_Base': {
|
||||||
|
'abstract': 1,
|
||||||
|
'msvs_configuration_attributes': {
|
||||||
|
'OutputDirectory': '<(DEPTH)\\build\\$(ConfigurationName)',
|
||||||
|
'IntermediateDirectory': '$(OutDir)\\obj\\$(ProjectName)',
|
||||||
|
'CharacterSet': '1',
|
||||||
|
},
|
||||||
|
},
|
||||||
'Debug': {
|
'Debug': {
|
||||||
|
'inherit_from': [
|
||||||
|
'Common_Base',
|
||||||
|
],
|
||||||
'xcode_settings': {
|
'xcode_settings': {
|
||||||
'COPY_PHASE_STRIP': 'NO',
|
'COPY_PHASE_STRIP': 'NO',
|
||||||
'GCC_OPTIMIZATION_LEVEL': '0',
|
'GCC_OPTIMIZATION_LEVEL': '0',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'Release': {
|
'Release': {
|
||||||
|
'inherit_from': [
|
||||||
|
'Common_Base',
|
||||||
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
'conditions': [
|
||||||
|
['OS=="win"', {
|
||||||
|
'target_defaults': {
|
||||||
|
'defines': [
|
||||||
|
'_WIN32_WINNT=0x0602',
|
||||||
|
'WINVER=0x0602',
|
||||||
|
'WIN32',
|
||||||
|
'_WINDOWS',
|
||||||
|
'NOMINMAX',
|
||||||
|
'PSAPI_VERSION=1',
|
||||||
|
'_CRT_RAND_S',
|
||||||
|
'CERT_CHAIN_PARA_HAS_EXTRA_FIELDS',
|
||||||
|
'WIN32_LEAN_AND_MEAN',
|
||||||
|
'_ATL_NO_OPENGL',
|
||||||
|
],
|
||||||
|
},
|
||||||
|
'msvs_settings': {
|
||||||
|
'VCCLCompilerTool': {
|
||||||
|
'AdditionalOptions': ['/MP'],
|
||||||
|
'MinimalRebuild': 'false',
|
||||||
|
'BufferSecurityCheck': 'true',
|
||||||
|
'EnableFunctionLevelLinking': 'true',
|
||||||
|
'RuntimeTypeInfo': 'false',
|
||||||
|
'WarningLevel': '4',
|
||||||
|
'WarnAsError': 'true',
|
||||||
|
'DebugInformationFormat': '3',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}],
|
||||||
|
],
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue