anchor.diff:  @echo off
   
   set PRJ_ROOT=%~dp0
  +set XCOPY_ARGS=/f /y
   
   set PLUGIN_ROOT=%~dp0OSVRUnreal\Plugins\OSVR
   IF NOT EXIST "%PLUGIN_ROOT%" goto ERROR_WRONG_PROJ_DIR
  
positive.code: 
  :copy_arch_indep
  rem Architecture-independent files
  setlocal
  set SRC=%1
  set SRC_RM=%src%
  set DEST_ROOT=%3
  xcopy %SRC%\include\osvr\ClientKit "%DEST_ROOT%\include\osvr\ClientKit" /S /I /y
  xcopy %SRC%\include\osvr\Util "%DEST_ROOT%\include\osvr\Util" /S /I /y
  xcopy %SRC%\include\osvr\Client "%DEST_ROOT%\include\osvr\Client" /S /I /y
  xcopy %SRC%\include\osvr\Common "%DEST_ROOT%\include\osvr\Common" /S /I /y
  xcopy %SRC_RM%\include\osvr\RenderKit "%DEST_ROOT%\include\osvr\RenderKit" /S /I /y
  endlocal
  goto :eof
  
  :copy_android
  
  set SRC=%1
  set PLUGIN_ROOT=%2
  
negative.code: rem Copy DLL files
  setlocal
  set SRC=%1
  set DEST=%2
  set BITS=%3
  for %%F in (%SRC%\bin\osvrClientKit.dll,%SRC%\bin\osvrClient.dll,%SRC%\bin\osvrUtil.dll,%SRC%\bin\osvrCommon.dll) do (
    xcopy %%F "%DEST%\Win%BITS%\" %XCOPY_ARGS%
  )
  for %%F in (%SRC%\bin\osvrRenderManager.dll,%SRC%\bin\d3dcompiler_47.dll,%SRC%\bin\glew32.dll,%SRC%\bin\SDL2.dll) do (
    rem echo xcopy %%F "%DEST%\Win%BITS%\" %XCOPY_ARGS%
    xcopy %%F "%DEST%\Win%BITS%\" %XCOPY_ARGS%
  )
  endlocal
  goto :eof
  