clang_darwin_dict = compiler_flags_dictionaries['clang'].copy();
clang_darwin_dict['cxx-strict'] = [ '-ansi', '-Wnon-virtual-dtor', '-Woverloaded-virtual', ]
+clang_darwin_dict['full-optimization'] = [ '-O3', '-ffast-math', '-fstrength-reduce' ]
compiler_flags_dictionaries['clang-darwin'] = clang_darwin_dict;
def fetch_git_revision ():
- cmd = "git describe HEAD"
+ cmd = "git describe HEAD | sed 's/^[A-Za-z]*+//'"
output = subprocess.Popen(cmd, shell=True, stderr=subprocess.STDOUT, stdout=subprocess.PIPE).communicate()[0].splitlines()
rev = output[0].decode ('utf-8')
return rev
'libs/fst',
'libs/vfork',
'libs/ardouralsautil',
+ 'cfgtool',
]
i18n_children = [
autowaf.display_msg(conf, 'Will build against private Ardour dependency stack', 'no')
if Options.options.freebie:
- conf.env.append_value ('CFLAGS', '-DNO_PLUGIN_STATE')
- conf.env.append_value ('CXXFLAGS', '-DNO_PLUGIN_STATE')
- conf.define ('NO_PLUGIN_STATE', 1)
+ conf.env.append_value ('CFLAGS', '-DSILENCE_AFTER')
+ conf.env.append_value ('CXXFLAGS', '-DSILENCE_AFTER')
+ conf.define ('FREEBIE', 1)
if Options.options.trx_build:
conf.define ('TRX_BUILD', 1)
# see http://gareus.org/wiki/ardour_windows_gdk_and_cairo
conf.env.append_value('CFLAGS', '-DUSE_CAIRO_IMAGE_SURFACE')
conf.env.append_value('CXXFLAGS', '-DUSE_CAIRO_IMAGE_SURFACE')
+ conf.define ('WINDOWS', 1)
if Options.options.dist_target == 'msvc':
conf.env.append_value('CFLAGS', '-DPLATFORM_WINDOWS')
conf.env.append_value('CFLAGS', '-DUSE_CAIRO_IMAGE_SURFACE')
conf.env.append_value('CXXFLAGS', '-DUSE_CAIRO_IMAGE_SURFACE')
# MORE STUFF PROBABLY NEEDED HERE
+ conf.define ('WINDOWS', 1)
# Tell everyone that this is a waf build
write_config_text('Architecture flags', opts.arch)
write_config_text('Aubio', conf.is_defined('HAVE_AUBIO'))
write_config_text('AudioUnits', conf.is_defined('AUDIOUNIT_SUPPORT'))
- write_config_text('No plugin state', conf.is_defined('NO_PLUGIN_STATE'))
+ write_config_text('Free/Demo copy', conf.is_defined('FREEBIE'))
write_config_text('Build target', conf.env['build_target'])
write_config_text('CoreAudio', conf.is_defined('HAVE_COREAUDIO'))
write_config_text('CoreAudio/Midi Backend',conf.env['BUILD_CORECRAPPITA'])