shithub: openh264

Download patch

ref: e5439b4533a50c31a218a5ea810bf91f297c5806
parent: dc661a6139fd603f6faec34524758138b135c18f
author: Martin Storsjö <martin@martin.st>
date: Fri Apr 17 12:04:50 EDT 2015

Output MSVC autobuild files into bin/arch/config instead of into bin/arch-config-asm

This is the same dirs as used as output dir by the msvc project files.
This makes sure that the project files can pick up the output files
directly instead of having to manually copy them around.

--- a/build/AutoBuildForWPAndWindows.bat
+++ b/build/AutoBuildForWPAndWindows.bat
@@ -383,9 +383,18 @@
   set vConfiguration=%1
   set vBuildOption=%2
   cd %RootDir%
-  set FullDestDir=%BinDir%\%vArcType%-%vConfiguration%-ASM-%vASMFlag%
+  if "%vArcType%"=="arm" (
+    set vBinDirName=ARM
+  ) else if "%vArcType%"=="i386" (
+    set vBinDirName=Win32
+  ) else (
+    set vBinDirName=x64
+  )
+  set ArchDestDir=%BinDir%\%vBinDirName%
+  set FullDestDir=%BinDir%\%vBinDirName%\%vConfiguration%
   echo copying dll files to destination folder...
   echo FullDestDir is %FullDestDir%
+  if not exist %ArchDestDir% md %ArchDestDir%
   if exist %FullDestDir% (
     rd /s /q %FullDestDir%
   )
@@ -393,7 +402,7 @@
 
   echo current dir is:
   cd
-  set DestDir=bin/%vArcType%-%vConfiguration%-ASM-%vASMFlag%
+  set DestDir=bin/%vBinDirName%/%vConfiguration%
   echo DestDir is %DestDir%
   if "%vOSType%"=="msvc-wp" (
      set aFileList=%DllFile% %LibFile% %PDBFile% %UTDllFile%