Adds condition in gyp-files to ensure that we can build MFC applications
with different settings of the "Use of MFC" setting in VS for Windows. Review URL: http://webrtc-codereview.appspot.com/43003 git-svn-id: http://webrtc.googlecode.com/svn/trunk@101 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
54bc6a61f5
commit
5e1316f9bb
@ -49,10 +49,16 @@
|
||||
'CaptureDevicePool.h',
|
||||
|
||||
],
|
||||
'configurations': {
|
||||
'configurations': {
|
||||
'Common_Base': {
|
||||
'msvs_configuration_attributes': {
|
||||
'UseOfMFC': '1', # Static
|
||||
'conditions': [
|
||||
['component=="shared_library"', {
|
||||
'UseOfMFC': '2', # Shared DLL
|
||||
},{
|
||||
'UseOfMFC': '1', # Static
|
||||
}],
|
||||
],
|
||||
},
|
||||
},
|
||||
},
|
||||
|
@ -163,7 +163,13 @@
|
||||
'configurations': {
|
||||
'Common_Base': {
|
||||
'msvs_configuration_attributes': {
|
||||
'UseOfMFC': '1', # Static
|
||||
'conditions': [
|
||||
['component=="shared_library"', {
|
||||
'UseOfMFC': '2', # Shared DLL
|
||||
},{
|
||||
'UseOfMFC': '1', # Static
|
||||
}],
|
||||
],
|
||||
},
|
||||
},
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user