2 conf.env.append_value('CXXFLAGS', '-D_FILE_OFFSET_BITS=64')
3 conf.env.append_value('CXXFLAGS', '-DPACKAGE_VERSION="%s"' % conf.env.VERSION)
4 if conf.options.target_windows:
5 conf.env.append_value('CXXFLAGS', '-DASDCP_PLATFORM="win32"')
6 conf.env.append_value('CXXFLAGS', '-DKM_WIN32')
8 conf.env.append_value('CXXFLAGS', '-DASDCP_PLATFORM="linux"')
12 obj = bld(features='cxx cxxstlib')
14 obj = bld(features='cxx cxxshlib')
16 obj.name = 'libkumu-cth'
17 obj.target = 'kumu-cth'
18 obj.uselib = 'OPENSSL BOOST_FILESYSTEM'
20 obj.export_includes = ['.']
31 obj = bld(features='cxx cxxstlib')
33 obj = bld(features='cxx cxxshlib')
35 obj.name = 'libasdcp-cth'
36 obj.target = 'asdcp-cth'
37 obj.uselib = 'OPENSSL'
38 obj.use = 'libkumu-cth'
40 obj.export_includes = ['.']
44 JP2K_Codestream_Parser.cpp
45 JP2K_Sequence_Parser.cpp
87 AtmosSyncChannel_Mixer.h
88 AtmosSyncChannel_Generator.h
105 AS_DCP_DCData_internal.h
115 bld.install_files('${PREFIX}/include/libasdcp-cth', headers)
117 bld.install_files('${PREFIX}/lib', 'libkumu-cth.a')
118 bld.install_files('${PREFIX}/lib', 'libasdcp-cth.a')