Skip to content

Commit

Permalink
wscript: try to improve build times further by using /showIncludes bu…
Browse files Browse the repository at this point in the history
…t only if requested (currently only on CI as it's totally broken on non-English locales)
  • Loading branch information
a1batross committed Jan 10, 2025
1 parent a9922d1 commit 8ad563d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions wscript
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,10 @@ def options(opt):
grp.add_option('--enable-voicemgr', action = 'store_true', dest = 'USE_VOICEMGR', default = False,
help = 'Enable VOICE MANAGER')

opt.add_subproject('dlls')
opt.add_subproject('cl_dll')
# a1ba: hidden option for CI
grp.add_option('--enable-msvcdeps', action='store_true', dest='MSVCDEPS', default=False, help='')

opt.add_subproject('cl_dll dlls')

def configure(conf):
conf.load('fwgslib reconfigure compiler_optimizations')
Expand All @@ -55,6 +57,9 @@ def configure(conf):
# Load compilers early
conf.load('xcompile compiler_c compiler_cxx gccdeps')

if conf.options.MSVCDEPS:
conf.load('msvcdeps')

# HACKHACK: override msvc DEST_CPU value by something that we understand
if conf.env.DEST_CPU == 'amd64':
conf.env.DEST_CPU = 'x86_64'
Expand Down

0 comments on commit 8ad563d

Please sign in to comment.