projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix locate-while-rolling
[ardour.git]
/
libs
/
midi++2
/
wscript
diff --git
a/libs/midi++2/wscript
b/libs/midi++2/wscript
index e8bfdab217967e31c6216ca5c528a92f8465aaaa..54a8e0206503032fd03c92750896276ef14275f4 100644
(file)
--- a/
libs/midi++2/wscript
+++ b/
libs/midi++2/wscript
@@
-36,7
+36,6
@@
libmidi_sources = [
'midnam_patch.cc',
'mmc.cc',
'mtc.cc',
'midnam_patch.cc',
'mmc.cc',
'mtc.cc',
- 'version.cc',
]
def options(opt):
]
def options(opt):
@@
-46,8
+45,6
@@
def options(opt):
def configure(conf):
conf.load('compiler_cxx')
def configure(conf):
conf.load('compiler_cxx')
- autowaf.build_version_files(path_prefix+'midi++/version.h', path_prefix+'version.cc',
- 'midipp', MAJOR, MINOR, MICRO, 'LIBMIDIPP_API', 'midi++/libmidi_visibility.h')
autowaf.configure(conf)
autowaf.check_pkg(conf, 'cppunit', uselib_store='CPPUNIT', atleast_version='1.12.0', mandatory=False)
autowaf.check_pkg(conf, 'libxml-2.0', uselib_store='XML')
autowaf.configure(conf)
autowaf.check_pkg(conf, 'cppunit', uselib_store='CPPUNIT', atleast_version='1.12.0', mandatory=False)
autowaf.check_pkg(conf, 'libxml-2.0', uselib_store='XML')
@@
-64,7
+61,7
@@
def build(bld):
obj.defines = [ 'LIBMIDIPP_DLL_EXPORTS=1' ]
else:
obj = bld.stlib(features = 'cxx cxxstlib', source=libmidi_sources)
obj.defines = [ 'LIBMIDIPP_DLL_EXPORTS=1' ]
else:
obj = bld.stlib(features = 'cxx cxxstlib', source=libmidi_sources)
- obj.cxxflags
= [ '-fPIC'
]
+ obj.cxxflags
= [ bld.env['compiler_flags_dict']['pic']
]
obj.defines = []
# everybody loves JACK
obj.defines = []
# everybody loves JACK
@@
-73,11
+70,11
@@
def build(bld):
obj.name = 'libmidipp'
obj.target = 'midipp'
obj.uselib = 'GLIBMM SIGCPP XML OSX'
obj.name = 'libmidipp'
obj.target = 'midipp'
obj.uselib = 'GLIBMM SIGCPP XML OSX'
- obj.use = 'libpbd libevoral libt
imecode
'
+ obj.use = 'libpbd libevoral libt
emporal
'
obj.vnum = LIBMIDIPP_LIB_VERSION
obj.install_path = bld.env['LIBDIR']
obj.vnum = LIBMIDIPP_LIB_VERSION
obj.install_path = bld.env['LIBDIR']
- if bld.env['BUILD_TESTS'] and bld.is_defined('HAVE_CPPUNIT'):
+ if bld.env['BUILD_TESTS'] and bld.is_defined('HAVE_CPPUNIT'):
# Unit tests
obj = bld(features = 'cxx cxxprogram')
obj.source = '''
# Unit tests
obj = bld(features = 'cxx cxxprogram')
obj.source = '''