anchor.diff:  
   :copy_arch_indep
   rem Architecture-independent files
  +echo,
  +echo Architecture-independent files
  +echo,
   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
  +set DEST_ROOT=%2
  +xcopy %SRC%\include\osvr\ClientKit "%DEST_ROOT%\include\osvr\ClientKit" /S /I %XCOPY_ARGS%
  +xcopy %SRC%\include\osvr\Util "%DEST_ROOT%\include\osvr\Util" /S /I %XCOPY_ARGS%
  +xcopy %SRC%\include\osvr\Client "%DEST_ROOT%\include\osvr\Client" /S /I %XCOPY_ARGS%
  +xcopy %SRC%\include\osvr\Common "%DEST_ROOT%\include\osvr\Common" /S /I %XCOPY_ARGS%
  +xcopy %SRC%\include\osvr\RenderKit "%DEST_ROOT%\include\osvr\RenderKit" /S /I %XCOPY_ARGS%
   endlocal
   goto :eof
   
   :copy_android
  +echo,
  +echo Android files
  +echo,
   
   set SRC=%1
   set PLUGIN_ROOT=%2
  
positive.code: set SRC_LIB=%SRC%\NDK\osvr\builds\armeabi-v7a\lib
  
  for %%F in (%SRC_LIB%\libcrystax.so,%SRC_LIB%\libfunctionality.so,%SRC_LIB%\libgnustl_shared.so,%SRC_LIB%\libjsoncpp.so,%SRC_LIB%\libosvrAnalysisPluginKit.so,%SRC_LIB%\libosvrClient.so,%SRC_LIB%\libosvrClientKit.so,%SRC_LIB%\libosvrCommon.so,%SRC_LIB%\libosvrConnection.so,%SRC_LIB%\libosvrJointClientKit.so,%SRC_LIB%\libosvrPluginHost.so,%SRC_LIB%\libosvrServer.so,%SRC_LIB%\libosvrUtil.so,%SRC_LIB%\libosvrVRPNServer.so) do (
    echo xcopy %%F "%DEST_ROOT%\bin\Android\armeabi-v7a\" /Y
    xcopy %%F "%DEST_ROOT%\bin\Android\armeabi-v7a\" /Y
  )
  
  endlocal
  
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
  