* copy FFMPEG libraries on Windows to BF_INSTALLDIR when done.
authorNathan Letwory <nathan@letworyinteractive.com>
Sun, 27 Apr 2008 17:00:22 +0000 (17:00 +0000)
committerNathan Letwory <nathan@letworyinteractive.com>
Sun, 27 Apr 2008 17:00:22 +0000 (17:00 +0000)
SConstruct

index 47914b8853daec8dc0419dcdb5e9ef4165509b91..722082bd0568a2e64b574a1b68cec80a1481dad5 100644 (file)
@@ -432,10 +432,13 @@ if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw'):
         dllsources += ['${LCGDIR}/pthreads/lib/pthreadVC2.dll']
     if env['WITH_BF_ICONV']:
         dllsources += ['${LCGDIR}/iconv/lib/iconv.dll']
-#    if env['WITH_BF_FFMPEG']:
-#        dllsources += ['${LCGDIR}/ffmpeg/lib/avcodec-51.dll',
-#                        '${LCGDIR}/ffmpeg/lib/avformat-51.dll',
-#                        '${LCGDIR}/ffmpeg/lib/avutil-49.dll']
+    if env['WITH_BF_FFMPEG']:
+        dllsources += ['${LCGDIR}/ffmpeg/lib/avcodec-51.dll',
+                        '${LCGDIR}/ffmpeg/lib/avformat-52.dll',
+                        '${LCGDIR}/ffmpeg/lib/libfaad-0.dll',
+                        '${LCGDIR}/ffmpeg/lib/libmp3lame-0.dll',
+                        '${LCGDIR}/ffmpeg/lib/xvidcore.dll',
+                        '${LCGDIR}/ffmpeg/lib/swscale-0.dll']
     windlls = env.Install(dir=env['BF_INSTALLDIR'], source = dllsources)
     allinstall += windlls