project64/Android/Script/copySource.cmd

68 lines
2.2 KiB
Batchfile
Raw Normal View History

2016-06-09 09:46:46 +00:00
@ECHO OFF
SETLOCAL
set origdir=%cd%
cd /d %~dp0..\..\
set base_dir=%cd%
cd /d %origdir%
echo copy 3rdParty/7zip
xcopy "%base_dir%/Source/3rdParty/7zip" "%base_dir%/Android/jni/3rdParty/7zip/" /D /I /F /Y /E
IF %ERRORLEVEL% NEQ 0 (exit /B 1)
2022-12-06 22:03:34 +00:00
echo copy 3rdParty/asmjit
xcopy "%base_dir%/Source/3rdParty/asmjit" "%base_dir%/Android/jni/3rdParty/asmjit/" /D /I /F /Y /E
IF %ERRORLEVEL% NEQ 0 (exit /B 1)
2016-06-09 09:46:46 +00:00
echo copy 3rdParty/png
xcopy "%base_dir%/Source/3rdParty/png" "%base_dir%/Android/jni/3rdParty/png/" /D /I /F /Y /E
IF %ERRORLEVEL% NEQ 0 (exit /B 1)
echo copy 3rdParty/zlib
xcopy "%base_dir%/Source/3rdParty/zlib" "%base_dir%/Android/jni/3rdParty/zlib/" /D /I /F /Y /E
IF %ERRORLEVEL% NEQ 0 (exit /B 1)
echo copy Common
xcopy "%base_dir%/Source/Common" "%base_dir%/Android/jni/Common/" /D /I /F /Y /E
IF %ERRORLEVEL% NEQ 0 (exit /B 1)
echo copy PluginInput
2021-07-27 08:23:04 +00:00
xcopy "%base_dir%/Source/Android/PluginInput" "%base_dir%/Android/jni/Plugin-Input/" /D /I /F /Y /E
2016-06-09 09:46:46 +00:00
IF %ERRORLEVEL% NEQ 0 (exit /B 1)
echo copy PluginRSP
2021-07-27 08:23:04 +00:00
xcopy "%base_dir%/Source/Android/PluginRSP" "%base_dir%/Android/jni/Plugin-RspHle/" /D /I /F /Y /E
2016-06-09 09:46:46 +00:00
IF %ERRORLEVEL% NEQ 0 (exit /B 1)
echo copy Project64-bridge
xcopy "%base_dir%/Source/Android/Bridge" "%base_dir%/Android/jni/Project64-bridge/" /D /I /F /Y /E
IF %ERRORLEVEL% NEQ 0 (exit /B 1)
2017-09-11 09:14:33 +00:00
echo copy Project64-audio
xcopy "%base_dir%/Source/Project64-audio" "%base_dir%/Android/jni/Project64-audio/" /D /I /F /Y /E
IF %ERRORLEVEL% NEQ 0 (exit /B 1)
2022-07-11 03:55:55 +00:00
echo copy Project64-plugin-spec
xcopy "%base_dir%/Source/Project64-plugin-spec" "%base_dir%/Android/jni/Project64-plugin-spec/" /D /I /F /Y /E
IF %ERRORLEVEL% NEQ 0 (exit /B 1)
2016-06-09 09:46:46 +00:00
echo copy Project64-core
xcopy "%base_dir%/Source/Project64-core" "%base_dir%/Android/jni/Project64-core/" /D /I /F /Y /E
IF %ERRORLEVEL% NEQ 0 (exit /B 1)
2023-09-28 05:55:34 +00:00
echo copy Project64-rsp-core
xcopy "%base_dir%/Source/Project64-rsp-core" "%base_dir%/Android/jni/Project64-rsp-core/" /D /I /F /Y /E
IF %ERRORLEVEL% NEQ 0 (exit /B 1)
echo copy Project64-video
xcopy "%base_dir%/Source/Project64-video" "%base_dir%/Android/jni/Project64-video/" /D /I /F /Y /E
IF %ERRORLEVEL% NEQ 0 (exit /B 1)
2016-06-09 09:46:46 +00:00
echo copy Settings
xcopy "%base_dir%/Source/Settings" "%base_dir%/Android/jni/Settings/" /D /I /F /Y /E
IF %ERRORLEVEL% NEQ 0 (exit /B 1)
ENDLOCAL
exit /B 0