4 # Version of this package (even if built as a child)
5 EVORAL_VERSION = '0.0.0'
7 # Library version (UNIX style major, minor, micro)
8 # major increment <=> incompatible changes
9 # minor increment <=> compatible changes (additions)
10 # micro increment <=> no interface changes
13 EVORAL_LIB_VERSION = '0.0.0'
15 # Variables for 'waf dist'
17 VERSION = EVORAL_VERSION
24 autowaf.set_options(opt)
27 autowaf.configure(conf)
28 autowaf.check_tool(conf, 'compiler_cxx')
29 autowaf.check_pkg(conf, 'glibmm-2.4', uselib_store='GLIBMM', atleast_version='2.14.0', mandatory=True)
30 autowaf.check_pkg(conf, 'gthread-2.0', uselib_store='GTHREAD', atleast_version='2.14.0', mandatory=True)
31 autowaf.check_pkg(conf, 'cppunit', uselib_store='CPPUNIT', atleast_version='1.12.0', mandatory=False)
32 autowaf.check_pkg(conf, 'smf', uselib_store='SMF', atleast_version='1.2', mandatory=False)
36 #bld.install_files('${INCLUDEDIR}/evoral', 'evoral/*.h')
37 #bld.install_files('${INCLUDEDIR}/evoral', 'evoral/*.hpp')
40 #autowaf.build_pc(bld, 'EVORAL', EVORAL_VERSION, 'GLIBMM GTHREAD')
43 obj = bld.new_task_gen('cxx', 'shlib')
57 obj.export_incdirs = ['.']
58 obj.includes = ['.', './src']
59 obj.name = 'libevoral'
61 obj.uselib = 'GLIBMM GTHREAD SMF'
62 obj.vnum = EVORAL_LIB_VERSION
66 obj = bld.new_task_gen('cxx', 'program')
72 obj.includes = ['.', './src']
73 obj.uselib_local = 'libevoral'
74 obj.uselib = 'CPPUNIT'
75 obj.target = 'run-tests'