1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2025-02-26 19:54:14 +01:00

Throw exception if attempting to configure for multiple archs with MSVC.

This commit is contained in:
Scott Ehlert 2017-10-08 16:30:20 -05:00
parent 628f9c8962
commit 8f0030df2a

View File

@ -162,6 +162,9 @@ class MMSConfig(object):
cxx = builder.DetectCxx() cxx = builder.DetectCxx()
if cxx.like('msvc') and len(self.archs) > 1:
raise Exception('Building multiple archs with MSVC is not currently supported')
if cxx.behavior == 'gcc': if cxx.behavior == 'gcc':
cxx.defines += [ cxx.defines += [
'stricmp=strcasecmp', 'stricmp=strcasecmp',