anchor.diff:  REM clone nix source from https://github.com/G-Node/nix
   SET NIX_ROOT=c:\work\nix
   SET NIX_MX_ROOT=c:\work\nix-mx
  +SET HDF5_VERSION_DIR=hdf5-1.10.1
  +
  +IF NOT EXIST cmake (
  +	ECHO Require a valid installation of cmake.
  +	EXIT /b
  +)
   
   IF NOT EXIST %NIX_DEP% (
  -	ECHO Please provide valid nix dependencies.
  +	ECHO Please provide the nix dependency directory.
   	EXIT /b
   )
   
  
positive.code: DEL * /S /Q
  RD /S /Q "CMakeFiles" "Testing" "Debug" "Release" "nix-tool.dir" "x64" "TestRunner.dir" "nix.dir"
  
  IF %PROCESSOR_ARCHITECTURE% == x86 ( cmake .. -G "Visual Studio 12") ELSE (cmake .. -G "Visual Studio 12 Win64")
  
  ECHO --------------------------------------------------------------------------
  ECHO Building nix via %NIX_ROOT%\build\nix.sln ...
  
negative.code: DEL * /S /Q
  RD /S /Q "CMakeFiles" "Debug" "nix_mx.dir" "Release" "Win32" "x64"
  
  IF %PROCESSOR_ARCHITECTURE% == x86 (cmake .. -G "Visual Studio 12") ELSE (cmake .. -G "Visual Studio 12 Win64")
  
  ECHO --------------------------------------------------------------------------
  