Lines Matching +full:release +full:- +full:1
22 rem * SPDX-License-Identifier: curl
41 if /i "%~1" == "" goto syntax
49 rem Visual Studio was x86-only prior to 14.3
50 if /i "%~1" == "vc14.3" (
59 if not "%~1" == "" (
60 if /i "%~1" == "vc10" (
64 ) else if /i "%~1" == "vc11" (
68 ) else if /i "%~1" == "vc12" (
72 ) else if /i "%~1" == "vc14" (
76 ) else if /i "%~1" == "vc14.1" (
80 rem Determine the VC14.1 path based on the installed edition in descending
89 ) else if /i "%~1" == "vc14.2" (
102 ) else if /i "%~1" == "vc14.3" (
115 ) else if /i "%~1%" == "x86" (
117 ) else if /i "%~1%" == "x64" (
119 ) else if /i "%~1%" == "debug" (
121 ) else if /i "%~1%" == "release" (
122 set BUILD_CONFIG=release
123 ) else if /i "%~1" == "-?" (
125 ) else if /i "%~1" == "-h" (
127 ) else if /i "%~1" == "-help" (
129 ) else if /i "%~1" == "-VSpath" (
138 ) else if /i "%~1" == "-perlpath" (
149 set "START_DIR=%~1%"
176 perl --version <NUL 1>NUL 2>&1
177 if errorlevel 1 (
243 cd /d "%START_DIR%" || (echo Error: Failed cd start & exit /B 1)
272 if not "%BUILD_CONFIG%" == "release" (
273 rem Configuring 64-bit Static Library Debug Build
282 rem Configuring 64-bit Shared Library Debug Build
293 rem Configuring 64-bit Static Library Release Build
294 call :configure x64 release static %LEGACY_BUILD%
300 call :install release static %LEGACY_BUILD%
302 rem Configuring 64-bit Shared Library Release Build
303 call :configure x64 release shared %LEGACY_BUILD%
309 call :install release shared %LEGACY_BUILD%
319 if not "%BUILD_CONFIG%" == "release" (
320 rem Configuring 32-bit Static Library Debug Build
329 rem Configuring 32-bit Shared Library Debug Build
340 rem Configuring 32-bit Static Library Release Build
341 call :configure x86 release static %LEGACY_BUILD%
347 call :install release static %LEGACY_BUILD%
349 rem Configuring 32-bit Shared Library Release Build
350 call :configure x86 release shared %LEGACY_BUILD%
356 call :install release shared %LEGACY_BUILD%
363 rem %1 - Platform (x86 or x64)
364 rem %2 - Configuration (release or debug)
365 rem %3 - Build Type (static or shared)
366 rem %4 - Build type (TRUE for legacy aka pre v1.1.0; otherwise FALSE)
371 if "%1" == "" exit /B 1
372 if "%2" == "" exit /B 1
373 if "%3" == "" exit /B 1
374 if "%4" == "" exit /B 1
377 cd /d "%TMP_BUILD_PATH%" || (echo Error: Failed cd build & exit /B 1)
381 if "%1" == "x86" (
383 set options=debug-VC-WIN32
384 ) else if "%2" == "release" (
385 set options=VC-WIN32
387 exit /B 1
390 set options=!options! no-asm
391 ) else if "%1" == "x64" (
393 set options=debug-VC-WIN64A
394 ) else if "%2" == "release" (
395 set options=VC-WIN64A
397 exit /B 1
400 exit /B 1
409 del makefile 1>nul
413 if "%1" == "x86" (
414 set options=VC-WIN32
415 ) else if "%1" == "x64" (
416 set options=VC-WIN64A
418 exit /B 1
422 set options=!options! --debug
423 ) else if "%2" == "release" (
424 set options=!options! --release
426 exit /B 1
430 set options=!options! no-shared
432 exit /B 1
435 set options=!options! no-asm
437 exit /B 1
441 perl "%SOURCE_PATH%\Configure" %options% "--prefix=%TMP_INSTALL_PATH%"
447 rem %1 - Platform (x86 or x64)
448 rem %2 - Build Type (static or shared)
449 rem %3 - Build type (TRUE for legacy aka pre v1.1.0; otherwise FALSE)
454 if "%1" == "" exit /B 1
455 if "%2" == "" exit /B 1
456 if "%3" == "" exit /B 1
458 cd /d "%TMP_BUILD_PATH%" || (echo Error: Failed cd build & exit /B 1)
461 if "%1" == "x86" (
463 ) else if "%1" == "x64" (
466 exit /B 1
470 nmake -f ms\nt.mak
472 nmake -f ms\ntdll.mak
474 exit /B 1
479 exit /B 1
486 rem %1 - Configuration (release or debug)
487 rem %2 - Build Type (static or shared)
488 rem %3 - Build type (TRUE for legacy aka pre v1.1.0; otherwise FALSE)
493 if "%1" == "" exit /B 1
494 if "%2" == "" exit /B 1
495 if "%3" == "" exit /B 1
502 cd /d "%SOURCE_PATH%" || (echo Error: Failed cd source & exit /B 1)
503 if "%1" == "debug" (
507 copy /y out32.dbg\* "%OUTDIR%\LIB Debug" 1>nul
510 move out32.dbg "%OUTDIR%\LIB Debug" 1>nul
514 move tmp32.dbg\lib.pdb "%OUTDIR%\LIB Debug" 1>nul
520 copy /y out32dll.dbg\* "%OUTDIR%\DLL Debug" 1>nul
523 move out32dll.dbg "%OUTDIR%\DLL Debug" 1>nul
527 move tmp32dll.dbg\lib.pdb "%OUTDIR%\DLL Debug" 1>nul
532 exit /B 1
534 ) else if "%1" == "release" (
537 if exist "%OUTDIR%\LIB Release" (
538 copy /y out32\* "%OUTDIR%\LIB Release" 1>nul
541 move out32 "%OUTDIR%\LIB Release" 1>nul
545 move tmp32\lib.pdb "%OUTDIR%\LIB Release" 1>nul
550 if exist "%OUTDIR%\DLL Release" (
551 copy /y out32dll\* "%OUTDIR%\DLL Release" 1>nul
554 move out32dll "%OUTDIR%\DLL Release" 1>nul
558 move tmp32dll\lib.pdb "%OUTDIR%\DLL Release" 1>nul
563 exit /B 1
567 cd /d "%TMP_BUILD_PATH%" || (echo Error: Failed cd build & exit /B 1)
572 cd /d "%SOURCE_PATH%" || (echo Error: Failed cd source & exit /B 1)
575 if "%1" == "debug" (
578 mkdir "%OUTDIR%\LIB Debug" 1>nul
581 move "%TMP_INSTALL_PATH%\lib\*.lib" "%OUTDIR%\LIB Debug" 1>nul
582 move "%TMP_INSTALL_PATH%\lib\*.pdb" "%OUTDIR%\LIB Debug" 1>nul
583 move "%TMP_INSTALL_PATH%\bin\*.exe" "%OUTDIR%\LIB Debug" 1>nul
584 move "%TMP_INSTALL_PATH%\bin\*.pdb" "%OUTDIR%\LIB Debug" 1>nul
585 xcopy /E /I /Y "%TMP_INSTALL_PATH%\include" "%OUTDIR%\LIB Debug\include" 1>nul
588 mkdir "%OUTDIR%\DLL Debug" 1>nul
591 move "%TMP_INSTALL_PATH%\lib\*.lib" "%OUTDIR%\DLL Debug" 1>nul
592 if exist "%TMP_INSTALL_PATH%\lib\engines-3" (
593 move "%TMP_INSTALL_PATH%\lib\engines-3\*.dll" "%OUTDIR%\DLL Debug" 1>nul
594 move "%TMP_INSTALL_PATH%\lib\engines-3\*.pdb" "%OUTDIR%\DLL Debug" 1>nul
595 ) else if exist "%TMP_INSTALL_PATH%\lib\engines-1_1" (
596 move "%TMP_INSTALL_PATH%\lib\engines-1_1\*.dll" "%OUTDIR%\DLL Debug" 1>nul
597 move "%TMP_INSTALL_PATH%\lib\engines-1_1\*.pdb" "%OUTDIR%\DLL Debug" 1>nul
599 move "%TMP_INSTALL_PATH%\bin\*.dll" "%OUTDIR%\DLL Debug" 1>nul
600 move "%TMP_INSTALL_PATH%\bin\*.exe" "%OUTDIR%\DLL Debug" 1>nul
601 move "%TMP_INSTALL_PATH%\bin\*.pdb" "%OUTDIR%\DLL Debug" 1>nul
602 xcopy /E /I /Y "%TMP_INSTALL_PATH%\include" "%OUTDIR%\DLL Debug\include" 1>nul
604 exit /B 1
606 ) else if "%1" == "release" (
608 if not exist "%OUTDIR%\LIB Release" (
609 mkdir "%OUTDIR%\LIB Release" 1>nul
612 move "%TMP_INSTALL_PATH%\lib\*.lib" "%OUTDIR%\LIB Release" 1>nul
613 move "%TMP_INSTALL_PATH%\lib\*.pdb" "%OUTDIR%\LIB Release" 1>nul
614 move "%TMP_INSTALL_PATH%\bin\*.exe" "%OUTDIR%\LIB Release" 1>nul
615 move "%TMP_INSTALL_PATH%\bin\*.pdb" "%OUTDIR%\LIB Release" 1>nul
616 xcopy /E /I /Y "%TMP_INSTALL_PATH%\include" "%OUTDIR%\LIB Release\include" 1>nul
618 if not exist "%OUTDIR%\DLL Release" (
619 mkdir "%OUTDIR%\DLL Release" 1>nul
622 move "%TMP_INSTALL_PATH%\lib\*.lib" "%OUTDIR%\DLL Release" 1>nul
623 if exist "%TMP_INSTALL_PATH%\lib\engines-3" (
624 move "%TMP_INSTALL_PATH%\lib\engines-3\*.dll" "%OUTDIR%\DLL Release" 1>nul
625 move "%TMP_INSTALL_PATH%\lib\engines-3\*.pdb" "%OUTDIR%\DLL Release" 1>nul
626 ) else if exist "%TMP_INSTALL_PATH%\lib\engines-1_1" (
627 move "%TMP_INSTALL_PATH%\lib\engines-1_1\*.dll" "%OUTDIR%\DLL Release" 1>nul
628 move "%TMP_INSTALL_PATH%\lib\engines-1_1\*.pdb" "%OUTDIR%\DLL Release" 1>nul
630 move "%TMP_INSTALL_PATH%\bin\*.dll" "%OUTDIR%\DLL Release" 1>nul
631 move "%TMP_INSTALL_PATH%\bin\*.exe" "%OUTDIR%\DLL Release" 1>nul
632 move "%TMP_INSTALL_PATH%\bin\*.pdb" "%OUTDIR%\DLL Release" 1>nul
633 xcopy /E /I /Y "%TMP_INSTALL_PATH%\include" "%OUTDIR%\DLL Release\include" 1>nul
635 exit /B 1
638 exit /B 1
649 exit /B 1
657 …echo Usage: build-openssl ^<compiler^> [platform] [configuration] [directory] [-VSpath] ["VSpath"]…
661 echo vc10 - Use Visual Studio 2010
662 echo vc11 - Use Visual Studio 2012
663 echo vc12 - Use Visual Studio 2013
664 echo vc14 - Use Visual Studio 2015
665 echo vc14.1 - Use Visual Studio 2017
666 echo vc14.2 - Use Visual Studio 2019
667 echo vc14.3 - Use Visual Studio 2022
671 echo x86 - Perform a 32-bit build
672 echo x64 - Perform a 64-bit build
676 echo debug - Perform a debug build
677 echo release - Perform a release build
681 echo directory - Specifies the OpenSSL source directory
683 echo -VSpath - Specify the custom VS path if Visual Studio is not located at
685 echo For e.g. -VSpath "C:\apps\MVS14"
687 echo -perlpath - Specify the custom perl root path if perl is not located at
690 echo For e.g. -perlpath "D:\strawberry-perl-5.24.3.1-64bit-portable"
695 echo Error: Unknown argument '%1'
712 echo Error: Please provide proper VS Path by using -VSpath
719 echo Error: If Perl is portable please provide perl root path by using -perlpath
724 echo Error: %VC_DESC% does not support 64-bit builds
734 exit /B 1