mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-12-15 17:20:07 +01:00
Simplify building with MinGW toolchain
Add a waf option `--no_msvc` that switches from a MSVC toolchain to a MinGW toolchain on Windows.
This commit is contained in:
@@ -142,13 +142,16 @@ class Configuration(object):
|
||||
self.finishSetup()
|
||||
|
||||
|
||||
def finishSetup(self, wx_config=None, debug=None):
|
||||
def finishSetup(self, wx_config=None, debug=None, compiler=None):
|
||||
if wx_config is not None:
|
||||
self.WX_CONFIG = wx_config
|
||||
|
||||
if debug is not None:
|
||||
self.debug = debug
|
||||
|
||||
if compiler is not None:
|
||||
self.COMPILER = compiler
|
||||
|
||||
#---------------------------------------
|
||||
# MSW specific settings
|
||||
if os.name == 'nt' and self.COMPILER == 'msvc':
|
||||
|
||||
Reference in New Issue
Block a user