2 from waflib.extras import autowaf as autowaf
5 # Version of this package (even if built as a child)
6 LIBPTFORMAT_VERSION = '0.0.0'
8 # Library version (UNIX style major, minor, micro)
9 # major increment <=> incompatible changes
10 # minor increment <=> compatible changes (additions)
11 # micro increment <=> no interface changes
12 LIBPTFORMAT_LIB_VERSION = '0.0.0'
14 # Variables for 'waf dist'
15 APPNAME = 'libptformat'
16 VERSION = LIBPTFORMAT_VERSION
23 autowaf.set_options(opt)
26 conf.load('compiler_cxx')
27 autowaf.configure(conf)
31 obj = bld(features = 'cxx cxxshlib')
32 obj.source = 'ptfformat.cc'
33 obj.export_includes = ['.']
35 obj.name = 'libptformat'
36 obj.target = 'ptformat'
38 autowaf.ensure_visible_symbols (obj, True)
39 obj.vnum = LIBPTFORMAT_LIB_VERSION
40 obj.install_path = bld.env['LIBDIR']
41 obj.defines = [ 'LIBPTFORMAT_DLL_EXPORTS' ]