forked from VerySleepy/verysleepy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcopyfiles.bat
22 lines (14 loc) · 886 Bytes
/
copyfiles.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
@echo off
if not defined DRMINGW set DRMINGW=..\drmingw
set CONFIGURATION=%1
set PLATFORM=%2
set DEST=obj\%PLATFORM%\%CONFIGURATION%\
if %PLATFORM%==Win32 set DBGHELPERS=dbghelp_x86
if %PLATFORM%==x64 set DBGHELPERS=dbghelp_x64
copy /y %DBGHELPERS%\*.* %DEST%
if not exist %DBGHELPERS%\dbghelpw.dll copy /y "src\dbghelpw\wine\dlls\dbghelp\vs\bin\%PLATFORM%\%CONFIGURATION%\dbghelpw.dll" %DEST%
if %PLATFORM%==x64 if not exist %DBGHELPERS%\dbghelpw_wow64.dll copy /y "src\dbghelpw\wine\dlls\dbghelp\vs\bin\%PLATFORM%\%CONFIGURATION% - Wow64\dbghelpw.dll" %DEST%\dbghelpw_wow64.dll
if %PLATFORM%==Win32 set PLATFORM_BITS=32
if %PLATFORM%==x64 set PLATFORM_BITS=64
if not exist %DBGHELPERS%\dbghelpdr.dll copy %DRMINGW%\build\%PLATFORM_BITS%\bin\mgwhelp.dll %DEST%\dbghelpdr.dll
copy /y src\crashback\bin\%PLATFORM%\%CONFIGURATION%\crashreport.exe %DEST%