summaryrefslogtreecommitdiffstats
path: root/third_party/ffmpeg/generate_libs.rules
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/ffmpeg/generate_libs.rules')
-rw-r--r--third_party/ffmpeg/generate_libs.rules18
1 files changed, 18 insertions, 0 deletions
diff --git a/third_party/ffmpeg/generate_libs.rules b/third_party/ffmpeg/generate_libs.rules
new file mode 100644
index 0000000..d096757
--- /dev/null
+++ b/third_party/ffmpeg/generate_libs.rules
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<VisualStudioToolFile
+ Name="Generate FFmpeg import libraries"
+ Version="8.00"
+ >
+ <Rules>
+ <CustomBuildRule
+ Name="Generate FFmpeg import libraries"
+ CommandLine="generate_libs.bat $(OutDir)"
+ Outputs="$(OutDir)\lib\avcodec-52.lib"
+ FileExtensions="*.def"
+ ExecutionDescription="Generating FFmpeg import libraries..."
+ >
+ <Properties>
+ </Properties>
+ </CustomBuildRule>
+ </Rules>
+</VisualStudioToolFile>