David Robillard
d357eca668
Anything related to the storage of events/values over a range of time lives in evoral. This includes MidiModel (Evoral::Sequence) and automation data (AutomationList (Evoral::ControlList), Automatable (Evoral::ControlSet), etc). libs/evoral synced with http://svn.drobilla.net/lad/trunk/evoral r1511. git-svn-id: svn://localhost/ardour2/branches/3.0@3754 d708f5d6-7413-0410-9779-e7cbd77b26cf
43 lines
905 B
Python
43 lines
905 B
Python
# -*- python -*-
|
|
|
|
import os
|
|
import os.path
|
|
import glob
|
|
|
|
Import('env libraries install_prefix')
|
|
|
|
evoral = env.Clone()
|
|
evoral.Merge([
|
|
libraries['glibmm2'],
|
|
libraries['xml'],
|
|
libraries['pbd'],
|
|
])
|
|
|
|
if evoral['IS_OSX']:
|
|
evoral.Append (LINKFLAGS="-Xlinker -headerpad -Xlinker 2048")
|
|
|
|
domain = 'evoral'
|
|
|
|
evoral.Append(DOMAIN=domain, MAJOR=1, MINOR=0, MICRO=0)
|
|
evoral.Append(CXXFLAGS="-DEVENT_WITH_XML")
|
|
|
|
sources = Split("""
|
|
src/Control.cpp
|
|
src/ControlList.cpp
|
|
src/ControlSet.cpp
|
|
src/Event.cpp
|
|
src/Note.cpp
|
|
src/Sequence.cpp
|
|
src/Curve.cpp
|
|
""")
|
|
|
|
libevoral = evoral.SharedLibrary('evoral', [ sources ])
|
|
|
|
Default(libevoral)
|
|
|
|
env.Alias('install', env.Install(os.path.join(install_prefix, env['LIBDIR'], 'ardour3'), libevoral))
|
|
|
|
env.Alias('tarball', env.Distribute (env['DISTTREE'],
|
|
[ 'SConscript' ] + sources +
|
|
glob.glob('midi++/*.h')))
|