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:
@@ -49,10 +49,16 @@
|
|||||||
'CaptureDevicePool.h',
|
'CaptureDevicePool.h',
|
||||||
|
|
||||||
],
|
],
|
||||||
'configurations': {
|
'configurations': {
|
||||||
'Common_Base': {
|
'Common_Base': {
|
||||||
'msvs_configuration_attributes': {
|
'msvs_configuration_attributes': {
|
||||||
'UseOfMFC': '1', # Static
|
'conditions': [
|
||||||
|
['component=="shared_library"', {
|
||||||
|
'UseOfMFC': '2', # Shared DLL
|
||||||
|
},{
|
||||||
|
'UseOfMFC': '1', # Static
|
||||||
|
}],
|
||||||
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -163,7 +163,13 @@
|
|||||||
'configurations': {
|
'configurations': {
|
||||||
'Common_Base': {
|
'Common_Base': {
|
||||||
'msvs_configuration_attributes': {
|
'msvs_configuration_attributes': {
|
||||||
'UseOfMFC': '1', # Static
|
'conditions': [
|
||||||
|
['component=="shared_library"', {
|
||||||
|
'UseOfMFC': '2', # Shared DLL
|
||||||
|
},{
|
||||||
|
'UseOfMFC': '1', # Static
|
||||||
|
}],
|
||||||
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user