anchor.diff:  subst T: %BuildRoot% || (exit /b)
   set BuildRoot=T:
   
  +:: Identify the PackageRoot
  +set PackageRoot=%BuildRoot%\package
  +
  +md %PackageRoot%
  +
   :: Identify the InstallRoot
   set InstallRoot=%BuildRoot%\Library\Developer\Toolchains\unknown-Asserts-development.xctoolchain\usr
   set PlatformRoot=%BuildRoot%\Library\Developer\Platforms\Windows.platform
  
positive.code: :: TODO(compnerd) match the XCTest installation name
  python -c "import plistlib; print(str(plistlib.dumps({ 'DefaultProperties': { 'XCTEST_VERSION': 'development' } }), encoding='utf-8'))" > %PlatformRoot%\Info.plist
  
  :: Clean up the module cache
  rd /s /q %LocalAppData%\clang\ModuleCache
  
  
negative.code: call :CloneDependencies || (exit /b)
  call :CloneRepositories || (exit /b)
  
  md "%BuildRoot%\Library"
  
  :: TODO(compnerd) build ICU from source
  curl.exe -sOL "https://github.com/unicode-org/icu/releases/download/release-67-1/icu4c-67_1-Win64-MSVC2017.zip" || (exit /b)
  "%SystemDrive%\Program Files\Git\usr\bin\unzip.exe" -o icu4c-67_1-Win64-MSVC2017.zip -d %BuildRoot%\Library\icu-67.1
  md %BuildRoot%\Library\icu-67.1\usr\bin
  copy %BuildRoot%\Library\icu-67.1\bin64\icudt67.dll %BuildRoot%\Library\icu-67.1\usr\bin || (exit /b)
  copy %BuildRoot%\Library\icu-67.1\bin64\icuin67.dll %BuildRoot%\Library\icu-67.1\usr\bin || (exit /b)
  copy %BuildRoot%\Library\icu-67.1\bin64\icuuc67.dll %BuildRoot%\Library\icu-67.1\usr\bin || (exit /b)
  
  :: FIXME(compnerd) is there a way to build the sources without downloading the amalgamation?
  curl.exe -sOL "https://sqlite.org/2021/sqlite-amalgamation-3360000.zip" || (exit /b)
  