'libs/taglib',
'libs/rubberband',
'libs/surfaces',
- 'libs/musictime',
+ 'libs/panners',
+ 'libs/timecode',
'libs/ardour',
'libs/gtkmm2ext',
'libs/clearlooks-newer',
'libs/audiographer',
'libs/gnomecanvas',
- 'gtk2_ardour'
+ 'gtk2_ardour',
+ 'templates'
]
i18n_children = [
if opt.stl_debug:
conf.env.append_value('CXXFLAGS', "-D_GLIBCXX_DEBUG")
+ if conf.env['DEBUG_RT_ALLOC']:
+ conf.env.append_value('CCFLAGS', '-DDEBUG_RT_ALLOC')
+ conf.env.append_value('CXXFLAGS', '-DDEBUG_RT_ALLOC')
+ conf.env.append_value('LINKFLAGS', '-ldl')
+
if opt.universal:
conf.env.append_value('CCFLAGS', "-arch i386 -arch ppc")
conf.env.append_value('CXXFLAGS', "-arch i386 -arch ppc")
conf.env.append_value('CXXFLAGS', '-DENABLE_NLS')
conf.env.append_value('CCFLAGS', '-DENABLE_NLS')
-
#----------------------------------------------------------------
# Waf stages
opt.add_option('--phone-home', action='store_false', default=True, dest='phone_home')
opt.add_option('--stl-debug', action='store_true', default=False, dest='stl_debug',
help='Build with debugging for the STL')
+ opt.add_option('--rt-alloc-debug', action='store_true', default=False, dest='rt_alloc_debug',
+ help='Build with debugging for memory allocation in the real-time thread')
opt.add_option('--test', action='store_true', default=False, dest='build_tests',
help="Build unit tests")
opt.add_option('--tranzport', action='store_true', default=False, dest='tranzport',
opt.add_option('--wiimote', action='store_true', default=False, dest='wiimote',
help='Build the wiimote control surface')
opt.add_option('--windows-key', type='string', action='store', dest='windows_key', default='Mod4><Super',
- help='X Modifier(s) (Mod1,Mod2, etc) for the Windows key (X11 builds only). ' +
- 'Multiple modifiers must be separated by \'><\'')
- opt.add_option('--boost-include', type='string', action='store', dest='boost_include', default='',
+ help='X Modifier(s) (Mod1,Mod2, etc) for the Windows key (X11 builds only). ' +
+ 'Multiple modifiers must be separated by \'><\'')
+ opt.add_option('--boost-include', type='string', action='store', dest='boost_include', default='',
help='directory where Boost header files can be found')
- opt.add_option('--wine-include', type='string', action='store', dest='wine_include', default='/usr/include/wine/windows',
+ opt.add_option('--wine-include', type='string', action='store', dest='wine_include', default='/usr/include/wine/windows',
help='directory where Wine\'s Windows header files can be found')
for i in children:
opt.sub_options(i)
if Options.options.boost_sp_debug:
conf.env.append_value('CXXFLAGS_BOOST', '-DBOOST_SP_ENABLE_DEBUG_HOOKS')
- autowaf.check_header(conf, 'jack/session.h', define="JACK_SESSION")
+ autowaf.check_header(conf, 'jack/session.h', define="JACK_SESSION", mandatory = False)
conf.check_cc(fragment = "#include <boost/version.hpp>\nint main(void) { return (BOOST_VERSION >= 103900 ? 0 : 1); }\n",
execute = "1",
autowaf.display_msg(conf, 'Windows Key', opts.windows_key)
conf.env['PROGRAM_NAME'] = opts.program_name
autowaf.display_msg(conf, 'Program Name', opts.program_name)
+ if opts.rt_alloc_debug:
+ conf.define('DEBUG_RT_ALLOC', 1)
set_compiler_flags (conf, Options.options)
bld.path.find_dir ('libs/evoral/evoral')
bld.path.find_dir ('libs/vamp-sdk/vamp-sdk')
bld.path.find_dir ('libs/surfaces/control_protocol/control_protocol')
- bld.path.find_dir ('libs/musictime/musictime')
+ bld.path.find_dir ('libs/timecode/timecode')
bld.path.find_dir ('libs/rubberband/rubberband')
bld.path.find_dir ('libs/gtkmm2ext/gtkmm2ext')
bld.path.find_dir ('libs/ardour/ardour')