ardour/libs/surfaces/osc/wscript
Paul Davis 3a337b97ea OSC: remove singleton object from OSC code
This will allow, theoretically, multiple instances of an OSC surface.

The osccontrollable.{cc,h} code is not used anywhere in the rest of the surface
support, and so was removed from the library but left in the repository
2025-11-24 10:28:56 -07:00

28 lines
800 B
Python

#!/usr/bin/env python
import os
def options(opt):
pass
def configure(conf):
pass
def build(bld):
obj = bld(features = 'cxx cxxshlib')
obj.source = '''
osc.cc
osc_route_observer.cc
osc_select_observer.cc
osc_global_observer.cc
osc_cue_observer.cc
interface.cc
osc_gui.cc
'''
obj.defines = [ 'PACKAGE="ardour_osc"' ]
obj.defines += [ 'ARDOURSURFACE_DLL_EXPORTS' ]
obj.includes = ['.', './osc']
obj.name = 'libardour_osc'
obj.target = 'ardour_osc'
obj.uselib = 'LO XML OSX GLIBMM GIOMM PANGOMM'
obj.use = 'libardour libardour_cp libgtkmm2ext libpbd libytkmm'
obj.install_path = os.path.join(bld.env['LIBDIR'], 'surfaces')