Lines Matching +full:build +full:- +full:shared +full:- +full:dbg
22 rem * SPDX-License-Identifier: curl
49 rem Visual Studio was x86-only prior to 14.3
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" (
176 perl --version <NUL 1>NUL 2>&1
232 call "%ABS_VC_PATH%\Auxiliary\Build\vcvarsall" %VCVARS_PLATFORM%
234 call "%ABS_VC_PATH%\Auxiliary\Build\vcvarsall" %VCVARS_PLATFORM%
236 call "%ABS_VC_PATH%\Auxiliary\Build\vcvarsall" %VCVARS_PLATFORM%
251 rem For legacy OpenSSL the temporary build path must be the source path.
261 set "TMP_BUILD_PATH=%SOURCE_PATH%\build\tmp_build"
262 set "TMP_INSTALL_PATH=%SOURCE_PATH%\build\tmp_install"
269 set OUTDIR=build\Win64\%VC_DESC%
273 rem Configuring 64-bit Static Library Debug Build
276 rem Perform the build
277 call :build x64 static %LEGACY_BUILD%
282 rem Configuring 64-bit Shared Library Debug Build
283 call :configure x64 debug shared %LEGACY_BUILD%
285 rem Perform the build
286 call :build x64 shared %LEGACY_BUILD%
289 call :install debug shared %LEGACY_BUILD%
293 rem Configuring 64-bit Static Library Release Build
296 rem Perform the build
297 call :build x64 static %LEGACY_BUILD%
302 rem Configuring 64-bit Shared Library Release Build
303 call :configure x64 release shared %LEGACY_BUILD%
305 rem Perform the build
306 call :build x64 shared %LEGACY_BUILD%
309 call :install release shared %LEGACY_BUILD%
316 set OUTDIR=build\Win32\%VC_DESC%
320 rem Configuring 32-bit Static Library Debug Build
323 rem Perform the build
324 call :build x86 static %LEGACY_BUILD%
329 rem Configuring 32-bit Shared Library Debug Build
330 call :configure x86 debug shared %LEGACY_BUILD%
332 rem Perform the build
333 call :build x86 shared %LEGACY_BUILD%
336 call :install debug shared %LEGACY_BUILD%
340 rem Configuring 32-bit Static Library Release Build
343 rem Perform the build
344 call :build x86 static %LEGACY_BUILD%
349 rem Configuring 32-bit Shared Library Release Build
350 call :configure x86 release shared %LEGACY_BUILD%
352 rem Perform the build
353 call :build x86 shared %LEGACY_BUILD%
356 call :install release shared %LEGACY_BUILD%
361 rem Function to configure the 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)
377 cd /d "%TMP_BUILD_PATH%" || (echo Error: Failed cd build & exit /B 1)
383 set options=debug-VC-WIN32
385 set options=VC-WIN32
390 set options=!options! no-asm
393 set options=debug-VC-WIN64A
395 set options=VC-WIN64A
405 rem Clean up the previous build
414 set options=VC-WIN32
416 set options=VC-WIN64A
422 set options=!options! --debug
424 set options=!options! --release
430 set options=!options! no-shared
431 ) else if not "%3" == "shared" (
435 set options=!options! no-asm
441 perl "%SOURCE_PATH%\Configure" %options% "--prefix=%TMP_INSTALL_PATH%"
445 rem Main build function.
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)
451 :build label
458 cd /d "%TMP_BUILD_PATH%" || (echo Error: Failed cd build & exit /B 1)
470 nmake -f ms\nt.mak
471 ) else if "%2" == "shared" (
472 nmake -f ms\ntdll.mak
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)
500 rem from the build dir (for legacy this is same as source dir) to the final
507 copy /y out32.dbg\* "%OUTDIR%\LIB Debug" 1>nul
508 rd out32.dbg /s /q
510 move out32.dbg "%OUTDIR%\LIB Debug" 1>nul
514 move tmp32.dbg\lib.pdb "%OUTDIR%\LIB Debug" 1>nul
517 rd tmp32.dbg /s /q
518 ) else if "%2" == "shared" (
520 copy /y out32dll.dbg\* "%OUTDIR%\DLL Debug" 1>nul
521 rd out32dll.dbg /s /q
523 move out32dll.dbg "%OUTDIR%\DLL Debug" 1>nul
527 move tmp32dll.dbg\lib.pdb "%OUTDIR%\DLL Debug" 1>nul
530 rd tmp32dll.dbg /s /q
549 ) else if "%2" == "shared" (
567 cd /d "%TMP_BUILD_PATH%" || (echo Error: Failed cd build & exit /B 1)
586 ) else if "%2" == "shared" (
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
617 ) else if "%2" == "shared" (
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
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"
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