shithub: aacdec

Download patch

ref: 419cd2bcfb26af6737267ccd624c14ead35149e7
parent: a2c4357825c73ef93133df2152be0d6bb6ad8343
parent: 5d380279cb00ea7a8b24f647f3790a1fc5342731
author: Fabian Greffrath <fabian@greffrath.com>
date: Tue Sep 3 12:16:38 EDT 2019

Merge pull request #14 from vividos/master

updating Visual Studio project files

--- a/.gitignore
+++ b/.gitignore
@@ -17,3 +17,4 @@
 project/msvc/bin/
 project/msvc/intermediate/
 libfaad/win32_ver.h
+*.user
--- 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" &gt; "$(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" &gt; "$(SolutionDir)..\..\libfaad\win32_ver.h"</Command>
+    </PreBuildEvent>
   </ItemDefinitionGroup>
   <ItemGroup>
     <ClCompile Include="..\..\libfaad\bits.c" />