anchor.diff:  @echo off
   setlocal enabledelayedexpansion
   ::
  -:: Copyright (c) 2017, HarpyWar (harpywar@gmail.com)
  +:: Copyright (c) 2017-2020, HarpyWar (harpywar@gmail.com)
   ::
   @call module\config.inc.bat
   
  
positive.code: copy /Y "%PVPGN_BUILD%\pvpgn.sln" "%PVPGN_DEVKIT%\"
  
  :: build each project
  call :build_project src\bnetd bnetd
  call :build_project src\bnpass bnpass
  call :build_project src\bnpass sha1hash
  call :build_project src\bntrackd bntrackd
  call :build_project src\bniutils bni2tga
  call :build_project src\bniutils bnibuild
  call :build_project src\bniutils bniextract
  call :build_project src\bniutils bnilist
  call :build_project src\bniutils tgainfo
  call :build_project src\common common
  call :build_project src\compat compat
  call :build_project src\client bnbot
  call :build_project src\client bnchat
  call :build_project src\client bnftp
  call :build_project src\client bnstat
  call :build_project src\d2cs d2cs
  call :build_project src\d2dbs d2dbs
  call :build_project src\win32 win32
  call :build_project fmt fmt
  
  
  :: remove unused projects generated by cmake
  
negative.code: 	@call %TOOLS_PATH%replacer.bat "%PVPGN_DEVKIT%projects\%2\%2.vcxproj" "..\compat\RelWithDebInfo\compat.lib" "%PROJECT_ROOT_DIR%%PVPGN_BUILD%\src\compat\RelWithDebInfo\compat.lib"
  	@call %TOOLS_PATH%replacer.bat "%PVPGN_DEVKIT%projects\%2\%2.vcxproj" "..\win32\RelWithDebInfo\win32.lib" "%PROJECT_ROOT_DIR%%PVPGN_BUILD%\src\win32\RelWithDebInfo\win32.lib"
  	@call %TOOLS_PATH%replacer.bat "%PVPGN_DEVKIT%projects\%2\%2.vcxproj" "..\..\fmt\RelWithDebInfo\fmt.lib" "%PROJECT_ROOT_DIR%%PVPGN_BUILD%\fmt\RelWithDebInfo\fmt.lib"
  
  	:: remove reduntant cmake node that executes cmake.exe on each build
  	call :remove_xml_node "%PVPGN_DEVKIT%projects\%2\%2.vcxproj" Project/ItemGroup/CustomBuild
  