X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fmidi%2B%2B2%2Fwscript;h=10a37466e197f77c8ca8157e0f5a1fcf5aae6241;hb=1152bf87a25cc2948514708f7c4a351d041da178;hp=59910b11fe119ab5921d4729a2c19d20a3f24b7e;hpb=058986f77b25685fe871bf5459da3f9c4ea03b5a;p=ardour.git diff --git a/libs/midi++2/wscript b/libs/midi++2/wscript index 59910b11fe..10a37466e1 100644 --- a/libs/midi++2/wscript +++ b/libs/midi++2/wscript @@ -36,7 +36,6 @@ libmidi_sources = [ 'midnam_patch.cc', 'mmc.cc', 'mtc.cc', - 'version.cc', ] def options(opt): @@ -46,8 +45,6 @@ def options(opt): 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') @@ -75,9 +72,9 @@ def build(bld): obj.uselib = 'GLIBMM SIGCPP XML OSX' obj.use = 'libpbd libevoral libtimecode' obj.vnum = LIBMIDIPP_LIB_VERSION - obj.install_path = os.path.join(bld.env['LIBDIR']) + 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 = '''