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
@ -161,6 +161,9 @@ class MMSConfig(object):
|
|||||||
raise Exception('Unknown target architecture: {0}'.format(builder.target.arch))
|
raise Exception('Unknown target architecture: {0}'.format(builder.target.arch))
|
||||||
|
|
||||||
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 += [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user