anchor.diff:  :#   2017-03-01 JFL Added variable IGNORE_NMAKEFILE for dealing with unwanted *
   :#                  NMakefile homonyms.                                       *
   :#   2017-03-05 JFL Added variable LOGDIR to control where to store the log.  *
  +:#   2017-03-10 JFL Added support for Visual Studio 2017.		      *
  +:#   2017-03-12 JFL Defining variable OS limits builds to that OS list.       *
   :#                                                                            *
   :#       Copyright 2016-2017 Hewlett Packard Enterprise Development LP       *
   :# Licensed under the Apache 2.0 license  www.apache.org/licenses/LICENSE-2.0 *
   :#*****************************************************************************
   
   setlocal EnableExtensions EnableDelayedExpansion
  -set "VERSION=2017-03-05"
  +set "VERSION=2017-03-12"
   set "SCRIPT=%~nx0"				&:# Script name
   set "SPATH=%~dp0" & set "SPATH=!SPATH:~0,-1!"	&:# Script path, without the trailing \
   set  "ARG0=%~f0"				&:# Script full pathname
  
positive.code: :# MSVC 32-bits compiler, linker, and librarian
  if not defined %VC%.BIN set "%VC%.BIN=!%VC%!\BIN"
  set "%VC%.PATH=!%VC%.BIN!"
  for %%d in ("!%VC%.BIN!") do ( :# For BIN dirs like amd64_arm
    for /f "tokens=1,2 delims=_" %%a in ('echo %%~nxd') do ( :# Split the 2 halves
      :# Append the first half [amd64 in the above example] to the path
      if not "%%b"=="" set "%VC%.PATH=!%VC%.PATH!;%%~dpd%%a"
    )
  )
  set "%VC%.PATH=!%VC%.PATH!;!%VS%.IDE!;!%VS%.TOOLS!"
  set %VC%.CC="!%VC%.BIN!\CL.EXE"
  set %VC%.LK="!%VC%.BIN!\LINK.EXE"
  
negative.code: for %%b in (Bin Bin\WinNT WinNT) do ( :# *WinNT = Names for old VS versions with alternate versions for Win95
    if exist "!%VS%.COMMON!\Tools\%%b" SET "%VS%.TOOLS=!%VS%.COMMON!\Tools\%%b;!%VS%.TOOLS!"
  )
  
  %ECHOVARS.D% %VS%.COMMON %VS%.IDE %VS%.TOOLS
  
  %RETURN#% "%VS%=!%VS%!"
  
  