Fix cscript.
[libdcp.git] / src / wscript
index 583c36083db357a19c28b31fd9132bbee1c3fad2..f85b00328e47905b54653aa2aaeb002403b5a949 100644 (file)
@@ -2,10 +2,10 @@ from waflib import TaskGen
 
 def build(bld):
     source = """
-             argb_frame.cc
              asset.cc
              certificate_chain.cc
              certificates.cc
+             colour_conversion.cc
              colour_matrix.cc
              content.cc
              cpl.cc
@@ -17,13 +17,13 @@ def build(bld):
              exceptions.cc
              file.cc
              font.cc
-             gamma_lut.cc
-             image.cc
+             gamma_transfer_function.cc
              interop_load_font.cc
              interop_subtitle_content.cc
              key.cc
              local_time.cc
              metadata.cc
+             modified_gamma_transfer_function.cc
              mono_picture_mxf.cc
              mono_picture_mxf_writer.cc
              mono_picture_frame.cc
@@ -54,16 +54,18 @@ def build(bld):
              subtitle_content.cc
              subtitle_string.cc
              text.cc
+             transfer_function.cc
              types.cc
              util.cc
              version.cc
-             xyz_frame.cc
+             xyz_image.cc
              """
 
     headers = """
               asset.h
               certificate_chain.h
               certificates.h
+              colour_conversion.h
               colour_matrix.h
               cpl.h
               content.h
@@ -73,16 +75,16 @@ def build(bld):
               decrypted_kdm_key.h
               encrypted_kdm.h
               exceptions.h
-              gamma_lut.h
-              image.h
+              gamma_transfer_function.h
               interop_load_font.h
               interop_subtitle_content.h
               key.h
+              load_font.h
               local_time.h
-              lut_cache.h
               metadata.h
               mono_picture_mxf.h
               mono_picture_frame.h
+              modified_gamma_transfer_function.h
               mxf.h
               mxf_writer.h
               object.h
@@ -99,7 +101,6 @@ def build(bld):
               reel_stereo_picture_asset.h
               reel_subtitle_asset.h
               ref.h
-              argb_frame.h
               signer.h
               smpte_load_font.h
               smpte_subtitle_content.h
@@ -111,10 +112,11 @@ def build(bld):
               subtitle.h
               subtitle_content.h
               subtitle_string.h
+              transfer_function.h
               types.h
               util.h
               version.h
-              xyz_frame.h
+              xyz_image.h
               """
 
     # Main library
@@ -138,7 +140,7 @@ def build(bld):
         obj.uselib = 'BOOST_FILESYSTEM BOOST_SIGNALS2 BOOST_DATETIME OPENSSL SIGC++ LIBXML++ OPENJPEG CXML XMLSEC1'
         obj.use = 'libkumu-libdcp%s libasdcp-libdcp%s' % (bld.env.API_VERSION, bld.env.API_VERSION)
         obj.source = source
-        obj.cppflags = ['-fprofile-arcs', '-ftest-coverage']
+        obj.cppflags = ['-fprofile-arcs', '-ftest-coverage', '-fno-inline', '-fno-default-inline', '-fno-elide-constructors', '-g', '-O0']
 
     bld.install_files('${PREFIX}/include/libdcp%s/dcp' % bld.env.API_VERSION, headers)
     if bld.env.STATIC: