mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-04 19:10:09 +01:00
Print the compiler version information on posix builds
This commit is contained in:
11
wscript
11
wscript
@@ -9,9 +9,10 @@
|
||||
|
||||
import sys
|
||||
import os
|
||||
import textwrap
|
||||
|
||||
import buildtools.config
|
||||
cfg = buildtools.config.Config(True)
|
||||
from buildtools.config import Config, runcmd, msg
|
||||
cfg = Config(True)
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# Options and configuration
|
||||
@@ -535,6 +536,12 @@ def build(bld):
|
||||
|
||||
cfg.finishSetup(bld.env.wx_config)
|
||||
|
||||
if not isWindows:
|
||||
cmd = ' '.join(bld.env.CC) + ' --version'
|
||||
copmpiler = runcmd(cmd, getOutput=True, echoCmd=False)
|
||||
copmpiler = textwrap.indent(copmpiler, ' '*5)
|
||||
msg("**** Compiler: {}\n{}".format(cmd, copmpiler))
|
||||
|
||||
# Copy the license files from wxWidgets
|
||||
updateLicenseFiles(cfg)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user