• Home
  • Raw
  • Download

Lines Matching +full:set +full:- +full:version

22 rem * SPDX-License-Identifier: curl
30 rem Set our variables
32 set VERSION=ALL variable
33 set MODE=GENERATE
42 if not exist ..\GIT-INFO goto norepo
48 set VERSION=PRE variable
50 set VERSION=VC10 variable
52 set VERSION=VC11 variable
54 set VERSION=VC12 variable
56 set VERSION=VC14 variable
58 set VERSION=VC14.10 variable
60 set VERSION=VC14.30 variable
61 ) else if /i "%~1" == "-clean" (
62 set MODE=CLEAN
63 ) else if /i "%~1" == "-?" (
65 ) else if /i "%~1" == "-h" (
67 ) else if /i "%~1" == "-help" (
79 ) else if "%VERSION%" == "PRE" (
80 call ..\buildconf -clean
81 ) else if "%VERSION%" == "ALL" (
82 call ..\buildconf -clean
85 if "%VERSION%" == "PRE" goto success
86 if "%VERSION%" == "VC10" goto vc10
87 if "%VERSION%" == "VC11" goto vc11
88 if "%VERSION%" == "VC12" goto vc12
89 if "%VERSION%" == "VC14" goto vc14
90 if "%VERSION%" == "VC14.10" goto vc14.10
91 if "%VERSION%" == "VC14.30" goto vc14.30
106 if not "%VERSION%" == "ALL" goto success
121 if not "%VERSION%" == "ALL" goto success
136 if not "%VERSION%" == "ALL" goto success
151 if not "%VERSION%" == "ALL" goto success
166 if not "%VERSION%" == "ALL" goto success
185 rem %1 - Project Type (vcxproj for VC10, VC11, VC12, VC14, VC14.10 and VC14.30)
186 rem %2 - Input template file
187 rem %3 - Output project file
202 set "var=%%i"
204 set "var=!var:*:=!"
221 call :element %1 lib "config-win32.h" %3
264 rem %1 - Project Type (vcxproj for VC10, VC11, VC12, VC14, VC14.10 and VC14.30)
265 rem %2 - Directory (src, lib, lib\vauth, lib\vquic, lib\vssh, lib\vtls)
266 rem %3 - Source filename
267 rem %4 - Output project file
270 set "SPACES= "
272 set "TABS= "
274 set "TABS= "
276 set "TABS= "
278 set "TABS= "
280 set "TABS= "
313 rem %1 - The filename
314 rem %2 - The return value
317 set fname=%~1
318 set ename=
321 set %2=
325 if not "%fname:~-1%"=="." (
326 set ename=%fname:~-1%%ename%
327 set fname=%fname:~0,-1%
331 set %2=%ename%
336 rem %1 - The filename
350 echo Usage: generate [what] [-clean]
354 echo pre - Prerequisites only
355 echo vc10 - Use Visual Studio 2010
356 echo vc11 - Use Visual Studio 2012
357 echo vc12 - Use Visual Studio 2013
358 echo vc14 - Use Visual Studio 2015
359 echo vc14.10 - Use Visual Studio 2017
360 echo vc14.30 - Use Visual Studio 2022
362 echo -clean - Removes the project files
386 rem Set the caller's errorlevel.
388 rem If %1 is empty the errorlevel will be set to 0.
389 rem If %1 is not empty and not an integer the errorlevel will be set to 1.
391 set EXITCODE=%~1
392 if not defined EXITCODE set EXITCODE=0
393 echo %EXITCODE%|findstr /r "[^0-9\-]" 1>NUL 2>&1
394 if %ERRORLEVEL% EQU 0 set EXITCODE=1