Changeset fb6a0ff for wscript


Ignore:
Timestamp:
Dec 24, 2016, 10:45:22 AM (8 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, sampler, yinfft+
Children:
dae3292
Parents:
578d3a2
Message:

wscript: improve --build-type description, use -O0 in debug mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wscript

    r578d3a2 rfb6a0ff  
    5252            choices = ('debug', 'release'),
    5353            dest = 'build_type',
    54             help = 'whether to compile with (--build_type=release) or without (--build_type=debug) '\
     54            help = 'whether to compile with (--build-type=release) or without (--build-type=debug) '\
    5555              ' compiler opimizations [default: release]')
    5656    add_option_enable_disable(ctx, 'fftw3f', default = False,
     
    143143            # set optimization level
    144144            ctx.env.CFLAGS += ['-O2']
     145        else:
     146            ctx.env.CFLAGS += ['-O0']
    145147    else:
    146148        # enable debug symbols
Note: See TracChangeset for help on using the changeset viewer.