mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
massive changes to waf build scripts so that nearly everything "should" be working now except for i18n (OSC is not quite right) ; some preliminary work on post-main-out handling, incomplete; a couple of fixes from -Wall and valgrind
git-svn-id: svn://localhost/ardour2/branches/3.0@5371 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
0102b1dc93
commit
7884727e78
23 changed files with 517 additions and 122 deletions
|
|
@ -37,9 +37,7 @@ def configure(conf):
|
|||
autowaf.check_pkg(conf, 'uuid', uselib_store='UUID')
|
||||
|
||||
conf.check(function_name='getmntent', header_name='mntent.h', define_name='HAVE_GETMNTENT')
|
||||
|
||||
# This must be defined for libpbd only, it breaks ardour
|
||||
conf.check(header_name='execinfo.h', define_name='PBD_HAVE_EXECINFO')
|
||||
conf.check(header_name='execinfo.h', define_name='HAVE_EXECINFO')
|
||||
|
||||
conf.write_config_header('libpbd-config.h')
|
||||
|
||||
|
|
@ -92,8 +90,9 @@ def build(bld):
|
|||
obj.vnum = LIBPBD_LIB_VERSION
|
||||
obj.install_path = os.path.join(bld.env['LIBDIR'], 'ardour3')
|
||||
obj.cxxflags = ['-DPACKAGE="libpbd"']
|
||||
if bld.env['PBD_HAVE_EXECINFO']:
|
||||
obj.cxxflags += ['-DHAVE_EXECINFO']
|
||||
|
||||
if bld.env['build_target'] == 'x86_64':
|
||||
obj.cxxflags += [ '-DUSE_X86_64_ASM' ]
|
||||
|
||||
def shutdown():
|
||||
autowaf.shutdown()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue