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:
parent
628f9c8962
commit
8f0030df2a
@ -162,6 +162,9 @@ class MMSConfig(object):
|
||||
|
||||
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':
|
||||
cxx.defines += [
|
||||
'stricmp=strcasecmp',
|
||||
|
Loading…
x
Reference in New Issue
Block a user