anchor.diff:  rem Copy DLL files
   setlocal
   set SRC=%1
  -set SRC_RM=%2
  -set DEST=%3
  -set BITS=%4
  +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%\" /Y
  +  xcopy %%F "%DEST%\Win%BITS%\" %XCOPY_ARGS%
   )
  -for %%F in (%SRC_RM%\bin\osvrRenderManager.dll,%SRC_RM%\bin\d3dcompiler_47.dll,%SRC_RM%\bin\glew32.dll,%SRC_RM%\bin\SDL2.dll) do (
  -  echo xcopy %%F "%DEST%\Win%BITS%\" /Y
  -  xcopy %%F "%DEST%\Win%BITS%\" /Y
  +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
  
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 Architecture-dependent files
  setlocal
  set SRC=%1
  set PLUGIN_ROOT=%2
  set DEST_ROOT=%3
  set BITS=%4
  echo,
  echo Architecture-dependent files %BITS%
  echo,
  
  echo.> "%DEST_ROOT%\Win%BITS%osvr-ver.txt"
  rem echo xcopy %SRC%\bin\osvr-ver.txt "%DEST_ROOT%\Win%BITS%osvr-ver.txt" /i %XCOPY_ARGS% 
  xcopy %SRC%\bin\osvr-ver.txt "%DEST_ROOT%\Win%BITS%osvr-ver.txt" %XCOPY_ARGS% 
  
  rem One copy to the bin directory, for use in deployment.
  call :copy_dll %SRC% %DEST_ROOT%\bin %BITS%
  
  rem One copy to the plugin Binaries directory, for editor support.
  call :copy_dll %SRC% %PLUGIN_ROOT%\Binaries %BITS%
  
  rem libs
  for %%F in (%SRC%\lib\osvrClientKit.lib) do (
    xcopy %%F "%DEST_ROOT%\lib\Win%BITS%\" %XCOPY_ARGS%
  )
  
  for %%F in (%SRC%\lib\osvrRenderManager.lib) do (
    rem echo xcopy %%F "%DEST_ROOT%\lib\Win%BITS%\" %XCOPY_ARGS%
    xcopy %%F "%DEST_ROOT%\lib\Win%BITS%\" %XCOPY_ARGS%
  )
  
  endlocal
  