X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=wscript;h=d1c38d65f45e2ce055fa612429de46c5123d71af;hb=545ee028e5ea59498699ba4eaecd4652e0e11100;hp=fd35f051e4efa84b8ac2f9891792ffbaa3aad8f4;hpb=961423c88b89bd845bee157797114cdb5ce86a9e;p=dcpomatic.git diff --git a/wscript b/wscript index fd35f051e..d1c38d65f 100644 --- a/wscript +++ b/wscript @@ -3,7 +3,7 @@ import os import sys APPNAME = 'dvdomatic' -VERSION = '0.65pre' +VERSION = '0.71' def options(opt): opt.load('compiler_cxx') @@ -19,12 +19,11 @@ def configure(conf): if conf.options.target_windows: conf.load('winres') - conf.env.append_value('CXXFLAGS', ['-D__STDC_CONSTANT_MACROS', '-msse', '-mfpmath=sse', '-ffast-math', '-fno-strict-aliasing', '-Wall', '-Wno-attributes']) + conf.env.append_value('CXXFLAGS', ['-D__STDC_CONSTANT_MACROS', '-msse', '-mfpmath=sse', '-ffast-math', '-fno-strict-aliasing', '-Wall', '-Wno-attributes', '-Wextra']) if conf.options.target_windows: - conf.env.append_value('CXXFLAGS', ['-DDVDOMATIC_WINDOWS', '-DWIN32_LEAN_AND_MEAN', '-DBOOST_USE_WINDOWS_H']) + conf.env.append_value('CXXFLAGS', ['-DDVDOMATIC_WINDOWS', '-DWIN32_LEAN_AND_MEAN', '-DBOOST_USE_WINDOWS_H', '-DUNICODE']) wxrc = os.popen('wx-config --rescomp').read().split()[1:] - print wxrc conf.env.append_value('WINRCFLAGS', wxrc) if conf.options.enable_debug: conf.env.append_value('CXXFLAGS', ['-mconsole'])