Changeset a341685 for wscript


Ignore:
Timestamp:
Dec 31, 2013, 12:43:25 AM (10 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
Children:
4fe62ba
Parents:
5cc88f7
Message:

wscript: do not pass -Wextra to msvc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wscript

    r5cc88f7 ra341685  
    8686    ctx.load('gnu_dirs')
    8787
    88     ctx.env.CFLAGS += ['-g', '-Wall', '-Wextra']
    89 
    9088    target_platform = Options.platform
    9189    if ctx.options.target_platform:
    9290        target_platform = ctx.options.target_platform
    9391    ctx.env['DEST_OS'] = target_platform
     92
     93    if 'CL.exe' not in ctx.env.CC[0]:
     94        ctx.env.CFLAGS += ['-g', '-Wall', '-Wextra']
     95    else:
     96        ctx.env.CFLAGS += ['-Wall']
    9497
    9598    if target_platform not in ['win32', 'win64']:
Note: See TracChangeset for help on using the changeset viewer.