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:
henrika@google.com 2011-06-20 09:53:51 +00:00
parent 54bc6a61f5
commit 5e1316f9bb
2 changed files with 15 additions and 3 deletions

View File

@ -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
}],
],
},
},
},

View File

@ -163,7 +163,13 @@
'configurations': {
'Common_Base': {
'msvs_configuration_attributes': {
'UseOfMFC': '1', # Static
'conditions': [
['component=="shared_library"', {
'UseOfMFC': '2', # Shared DLL
},{
'UseOfMFC': '1', # Static
}],
],
},
},
},