Make SignalN template variadic

This commit is contained in:
Alejandro Domínguez 2024-08-18 19:48:21 +02:00 committed by Robin Gareus
parent 6c14a6c407
commit 16dd8528c8
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
3 changed files with 537 additions and 361 deletions

View file

@ -143,9 +143,6 @@ def build(bld):
{'LIBPBD_VERSION' : LIBPBD_VERSION,
'LIBPBD_MAJOR_VERSION' : LIBPBD_MAJOR_VERSION})
# Make signals_generated.h using signals.py
bld(rule = sys.executable + ' ${SRC} ${TGT}', source = 'pbd/signals.py', target = 'pbd/signals_generated.h', name="pbdsignals", features='use', ext_out=['.h'])
# Library
if bld.is_defined ('INTERNAL_SHARED_LIBS'):
obj = bld.shlib(features = 'cxx cxxshlib', source=libpbd_sources)
@ -163,7 +160,6 @@ def build(bld):
obj.includes = ['.']
obj.name = 'libpbd'
obj.target = 'pbd'
obj.use = 'pbdsignals'
obj.uselib = 'GLIBMM SIGCPP XML UUID SNDFILE GIOMM ARCHIVE CURL'
if sys.platform == 'darwin':
TaskGen.task_gen.mappings['.mm'] = TaskGen.task_gen.mappings['.cc']