mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Merge remote-tracking branch 'remotes/origin/exportvis' into windows+cc
Conflicts (hopefully resolved): gtk2_ardour/wscript libs/ardour/ardour/audioregion.h libs/ardour/ardour/debug.h libs/ardour/ardour/directory_names.h libs/ardour/ardour/filesystem_paths.h libs/ardour/ardour/session_event.h libs/gtkmm2ext/gtkmm2ext/utils.h libs/panners/1in2out/wscript libs/panners/2in2out/wscript libs/panners/vbap/wscript libs/pbd/pbd/debug.h libs/pbd/pbd/file_utils.h libs/pbd/pbd/pathexpand.h libs/pbd/pbd/ringbuffer.h libs/pbd/pbd/ringbufferNPT.h libs/pbd/pbd/search_path.h libs/pbd/pbd/stacktrace.h libs/pbd/pbd/uuid.h libs/pbd/pbd/uuid_boost.h libs/surfaces/control_protocol/control_protocol/basic_ui.h libs/surfaces/control_protocol/control_protocol/control_protocol.h
This commit is contained in:
commit
b855e5f322
421 changed files with 2167 additions and 1150 deletions
|
|
@ -89,7 +89,7 @@ def options(opt):
|
|||
def configure(conf):
|
||||
conf.load('compiler_cxx')
|
||||
autowaf.build_version_files(path_prefix+'pbd/version.h', path_prefix+'version.cc',
|
||||
'libpbd', MAJOR, MINOR, MICRO)
|
||||
'libpbd', MAJOR, MINOR, MICRO, 'LIBPBD_API', 'pbd/libpbd_visibility.h')
|
||||
autowaf.configure(conf)
|
||||
autowaf.check_pkg(conf, 'libxml-2.0', uselib_store='XML')
|
||||
autowaf.check_pkg(conf, 'sigc++-2.0', uselib_store='SIGCPP', atleast_version='2.0')
|
||||
|
|
@ -115,10 +115,17 @@ def build(bld):
|
|||
if bld.is_defined ('INTERNAL_SHARED_LIBS'):
|
||||
print('BUILD SHARED LIB')
|
||||
obj = bld.shlib(features = 'cxx cxxshlib', source=libpbd_sources)
|
||||
obj.defines = [ 'LIBPBD_DLL=1',
|
||||
'LIBPBD_DLL_EXPORTS=1'
|
||||
]
|
||||
obj.cxxflags = [ '-fvisibility=hidden' ]
|
||||
obj.cflags = [ '-fvisibility=hidden' ]
|
||||
else:
|
||||
print('BUILD STATIC LIB')
|
||||
obj = bld.stlib(features = 'cxx cxxstlib', source=libpbd_sources)
|
||||
obj.cxxflags = [ '-fPIC' ]
|
||||
obj.cflags = [ '-fPIC' ]
|
||||
obj.defines = []
|
||||
|
||||
if bld.is_defined('DEBUG_RT_ALLOC'):
|
||||
obj.source += 'debug_rt_alloc.c'
|
||||
|
|
@ -138,7 +145,7 @@ def build(bld):
|
|||
obj.uselib += ' OSX'
|
||||
obj.vnum = LIBPBD_LIB_VERSION
|
||||
obj.install_path = os.path.join(bld.env['LIBDIR'], 'ardour3')
|
||||
obj.defines = ['PACKAGE="' + I18N_PACKAGE + '"']
|
||||
obj.defines += [ 'PACKAGE="' + I18N_PACKAGE + '"' ]
|
||||
|
||||
if bld.env['build_target'] == 'x86_64':
|
||||
obj.defines += [ 'USE_X86_64_ASM' ]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue