anchor.diff:  call %i18n% 1_8
   echo.
   call %i18n% 1_9
  -set /p CHOICE_INTERFACE=: 
  -
  -:: if not gui, set a console
  +choice /c:12
  +set CHOICE_INTERFACE=%errorlevel%
  +
  +:: gui or console has choosen
   if not [%CHOICE_INTERFACE%]==[2] (
  -	set CHOICE_INTERFACE=1
   	call %i18n% 1_10
   ) else (
   	call %i18n% 1_11
  
positive.code: 	:: cmake vars to add to command line
  	set CMAKE_DB_VARS=-D SQLITE3_INCLUDE_DIR=!DB_PATH! -D SQLITE3_LIBRARY=!DB_PATH!!DB_LIB!.lib -D WITH_SQLITE3=true
  )
  
  
  echo.
  echo _____________________________[ S T A R T ]______________________________________
  
  :: ----------- DOWNLOAD ------------
  if [%LOG%]==[true] set svn_log=^>svn.log
  @mkdir %PVPGN_SOURCE%
  
  :: download latest pvpgn from the svn
  if [%CHOICE_SVN%]==[y] module\tortoisesvn\svn.exe checkout %PVPGN_SVN% %PVPGN_SOURCE% %svn_log%
  
  
  :: ----------- MAKE ------------
  echo.
  echo ______________________[ C M A K E  C O N F I G U R E ]__________________________
  if [%LOG%]==[true] set cmake_log= ^>cmake.log
  @mkdir %PVPGN_BUILD%
  
  :: use win32 configs
  @call :backup_conf
  
  :: delete cmake cache
  @del %PVPGN_BUILD%CMakeCache.txt
  
  if [%CHOICE_INTERFACE%]==[1] ( set with_gui=false ) else ( set with_gui=true )
  
  :: configure and generate solution
  module\cmake\bin\cmake.exe -Wno-dev -G "%GENERATOR%" -D ZLIB_INCLUDE_DIR=%ZLIB_PATH% -D ZLIB_LIBRARY=%ZLIB_PATH%zlibwapi.lib %CMAKE_DB_VARS% -D WITH_WIN32_GUI=%with_gui% -D CMAKE_INSTALL_PREFIX="" -H%PVPGN_SOURCE% -B%PVPGN_BUILD% %cmake_log%
  
  
  
  
  :: restore unix configs
  @call :restore_conf
  
  :: ----------- BUILD ------------
  echo.
  echo ______________[ B U I L D  W I T H  V I S U A L  S T U D I O ]__________________
  :build
  if [%LOG%]==[true] set vs_log=^>visualstudio.log
  
  :: check solution for exists 
  IF NOT EXIST "%PVPGN_BUILD%pvpgn.sln" echo. & call %i18n% 1_16 & goto THEEND
  
negative.code: :: vcexpress include dir
  set INCLUDE=%VCEXPRESS_INCLUDE_PATH%;%INCLUDE%
  :: use environments is different on each visual studio
  if ["%VSVER%"]==["v100"] ( set useEnv=UseEnv=true) else ( set useEnv=VCBuildUseEnvironment=true)
  
  
  if ["%FrameworkDir%"]==[""] set FrameworkDir=%FrameworkDir32% & set FrameworkVersion=%FrameworkVersion32%
  