Add option to read binary STL from a FILE *
[libsub.git] / src / wscript
index a054a917745da200fedb99cd1459e3062a65644c..655c5b5452978f1c65132e4222490d36a60fa430 100644 (file)
@@ -8,21 +8,23 @@ def build(bld):
 
     obj.name = 'libsub%s' % bld.env.API_VERSION
     obj.target = 'sub%s' % bld.env.API_VERSION
-    obj.uselib = 'CXML DCP BOOST_FILESYSTEM BOOST_LOCALE BOOST_REGEX'
+    obj.uselib = 'CXML DCP BOOST_FILESYSTEM BOOST_LOCALE BOOST_REGEX ASDCPLIB_CTH'
     obj.use = 'libkumu-libsub%s libasdcp-libsub%s' % (bld.env.API_VERSION, bld.env.API_VERSION)
     obj.export_includes = ['.']
     obj.source = """
                  colour.cc
                  dcp_reader.cc
                  effect.cc
+                 exceptions.cc
                  font_size.cc
-                 interop_dcp_reader.cc
+                 horizontal_position.cc
                  iso6937.cc
                  iso6937_tables.cc
+                 rational.cc
                  raw_subtitle.cc
                  reader.cc
                  reader_factory.cc
-                 smpte_dcp_reader.cc
+                 ssa_reader.cc
                  stl_binary_reader.cc
                  stl_binary_tables.cc
                  stl_binary_writer.cc
@@ -34,11 +36,6 @@ def build(bld):
                  util.cc
                  vertical_reference.cc
                  vertical_position.cc
-                 dcp/font.cc
-                 dcp/interop_load_font.cc
-                 dcp/smpte_load_font.cc
-                 dcp/subtitle.cc
-                 dcp/text.cc
                  """
 
     headers = """
@@ -46,9 +43,15 @@ def build(bld):
               colour.h
               dcp_reader.h
               effect.h
+              exceptions.h
               font_size.h
+              horizontal_position.h
+              horizontal_reference.h
+              rational.h
               raw_subtitle.h
               reader.h
+              reader_factory.h
+              ssa_reader.h
               stl_binary_tables.h
               stl_binary_reader.h
               stl_binary_writer.h