anchor.diff:  if %COMP%==msvc10 set MSVC_DIR=%msvc10_DIR%
   if %COMP%==msvc11 set MSVC_DIR=%msvc11_DIR%
   if %COMP%==msvc12 set MSVC_DIR=%msvc12_DIR%
  +if %COMP%==msvc14 set MSVC_DIR=%msvc14_DIR%
   if %COMP%==msvc9 set CMAKE_GEN=Visual Studio 9 2008
  -if %COMP%==msvc10 set CMAKE_GEN=Visual Studio 10
  -if %COMP%==msvc11 set CMAKE_GEN=Visual Studio 11
  -if %COMP%==msvc12 set CMAKE_GEN=Visual Studio 12
  +if %COMP%==msvc10 set CMAKE_GEN=Visual Studio 10 2010
  +if %COMP%==msvc11 set CMAKE_GEN=Visual Studio 11 2012
  +if %COMP%==msvc12 set CMAKE_GEN=Visual Studio 12 2013
  +if %COMP%==msvc14 set CMAKE_GEN=Visual Studio 14 2015
   if %ARCHN%==64 set CMAKE_GEN=%CMAKE_GEN% Win64
   
   set CMAKE_EXTRA1=
  
positive.code: 
  REM ---------------- Call CMake ----------------
  call %PATH_FIL%
  set ALL_PARAMS=-DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF -DBUILD_PERF_TESTS=OFF -DWITH_CUDA=OFF
  
  REM Create Project:
  echo on
  cmake ../%OPENCV_BASE_DIR% -G "%CMAKE_GEN%" %ALL_PARAMS% %CMAKE_EXTRA1% %CMAKE_EXTRA2% %CMAKE_EXTRA3% 
  
  REM and insist to make sure all vars have been fixed:
  cmake . %ALL_PARAMS%
  echo off
  
  
  
negative.code: set ARCHN=64
  call :subGen
  
  REM msvc14 ========================
  :gen14
  set COMP=msvc14
  set ARCHN=32
  call :subGen
  
  set ARCHN=64
  call :subGen
  
  goto End
  
  :MINGW_PARTS
  REM MinGW ========================
  