summaryrefslogtreecommitdiff
path: root/tools/openssl/build_win32.cmd
blob: 488c7d68053f39498ac1af880a4ffa98dbc1debc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
@echo off

cd /d "%TEMP%"
rd /s /q openssl
mkdir openssl
cd /d openssl

set LDFLAGS=/nologo /debug /SUBSYSTEM:CONSOLE",5.01"
perl "%OPENSSL_ROOT_DIR%\Configure" shared VC-WIN32 /D\"_USING_V110_SDK71_\" /D\"_WIN32_WINNT=0x0501\"

call %VS141COMNTOOLS%\..\..\VC\Auxiliary\Build\vcvars32.bat 
nmake 

copy libcrypto-1_1.mir %MIRANDA_BUILD_ROOT%\pre-build\bin15\32\Libs
copy libssl-1_1.mir    %MIRANDA_BUILD_ROOT%\pre-build\bin15\32\Libs

copy libcrypto-1_1.pdb %MIRANDA_BUILD_ROOT%\pre-symbols\bin15\32
copy libssl-1_1.pdb    %MIRANDA_BUILD_ROOT%\pre-symbols\bin15\32

copy libcrypto-1_1.mir %MIRANDA_DEV_ROOT%\bin15\Release\Libs
copy libcrypto-1_1.pdb %MIRANDA_DEV_ROOT%\bin15\Release\Libs
copy libssl-1_1.mir    %MIRANDA_DEV_ROOT%\bin15\Release\Libs
copy libssl-1_1.pdb    %MIRANDA_DEV_ROOT%\bin15\Release\Libs

copy libcrypto-1_1.mir %MIRANDA_DEV_ROOT%\bin15\Debug\Libs
copy libcrypto-1_1.pdb %MIRANDA_DEV_ROOT%\bin15\Debug\Libs
copy libssl-1_1.mir    %MIRANDA_DEV_ROOT%\bin15\Debug\Libs
copy libssl-1_1.pdb    %MIRANDA_DEV_ROOT%\bin15\Debug\Libs

copy libcrypto-1_1.mir %MIRANDA_DEV_ROOT%\bin16\Release\Libs
copy libcrypto-1_1.pdb %MIRANDA_DEV_ROOT%\bin16\Release\Libs
copy libssl-1_1.mir    %MIRANDA_DEV_ROOT%\bin16\Release\Libs
copy libssl-1_1.pdb    %MIRANDA_DEV_ROOT%\bin16\Release\Libs

copy libcrypto-1_1.mir %MIRANDA_DEV_ROOT%\bin16\Debug\Libs
copy libcrypto-1_1.pdb %MIRANDA_DEV_ROOT%\bin16\Debug\Libs
copy libssl-1_1.mir    %MIRANDA_DEV_ROOT%\bin16\Debug\Libs
copy libssl-1_1.pdb    %MIRANDA_DEV_ROOT%\bin16\Debug\Libs

copy libcrypto-1_1.mir %MIRANDA_DEV_ROOT%\bin17\Release\Libs
copy libcrypto-1_1.pdb %MIRANDA_DEV_ROOT%\bin17\Release\Libs
copy libssl-1_1.mir    %MIRANDA_DEV_ROOT%\bin17\Release\Libs
copy libssl-1_1.pdb    %MIRANDA_DEV_ROOT%\bin17\Release\Libs

copy libcrypto-1_1.mir %MIRANDA_DEV_ROOT%\bin17\Debug\Libs
copy libcrypto-1_1.pdb %MIRANDA_DEV_ROOT%\bin17\Debug\Libs
copy libssl-1_1.mir    %MIRANDA_DEV_ROOT%\bin17\Debug\Libs
copy libssl-1_1.pdb    %MIRANDA_DEV_ROOT%\bin17\Debug\Libs