ref: b591c73a97034b44161220814944ebc9fdc91467
parent: 7da4a83b230d069a9d731b1e64f6e6b52802576a
author: Michael Fink <[email protected]>
date: Sat Aug 4 09:21:44 EDT 2018
updated Visual Studio 2017 project for libfaad2.dll, also retrieving version from configure.ac file
--- a/project/msvc/libfaad2_dll.vcxproj
+++ b/project/msvc/libfaad2_dll.vcxproj
@@ -79,6 +79,10 @@
<ModuleDefinitionFile>.\libfaad2.def</ModuleDefinitionFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
+ <PreBuildEvent>
+ <Message>Retrieving package version...</Message>
+ <Command>"$(SolutionDir)..\..\utils\win32\ac2ver.exe" "faad2" "$(SolutionDir)..\..\configure.ac" > "$(SolutionDir)..\..\libfaad\win32_ver.h"</Command>
+ </PreBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Midl>
@@ -108,6 +112,10 @@
<Link>
<ModuleDefinitionFile>.\libfaad2.def</ModuleDefinitionFile>
</Link>
+ <PreBuildEvent>
+ <Message>Retrieving package version...</Message>
+ <Command>"$(SolutionDir)..\..\utils\win32\ac2ver.exe" "faad2" "$(SolutionDir)..\..\configure.ac" > "$(SolutionDir)..\..\libfaad\win32_ver.h"</Command>
+ </PreBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\libfaad\bits.c" />