File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -17,19 +17,19 @@ call "%~dp0\..\scripts\common.bat" prepare_project || exit /b 1
17
17
18
18
cd " %SRCROOT% \%PROJECT% " || exit \b 1
19
19
20
- :: Generates the tool_hugehelp.c file
20
+ :: generate build config
21
21
call " buildconf.bat" || exit \b 1
22
22
23
23
set BUILD_DIR = " %SRCROOT% \%PROJECT% \build-%ARCH% -%BUILD_TYPE% "
24
24
if exist " %BUILD_DIR% " (rmdir /S /Q " %BUILD_DIR% " || exit /b 1)
25
25
mkdir " %BUILD_DIR% " || exit /b 1
26
26
cd " %BUILD_DIR% " || exit /b 1
27
27
28
-
29
28
echo .
30
29
echo ### Running cmake
31
30
cmake .. %CMAKE_OPTIONS% ^
32
- -D BUILD_SHARED_LIBS=NO ^
31
+ -D BUILD_SHARED_LIBS=YES ^
32
+ -D CURL_USE_SCHANNEL=YES ^
33
33
-D BUILD_CURL_EXE=NO ^
34
34
|| exit /b 1
35
35
41
41
echo ### Installing
42
42
ninja install || exit /b 1
43
43
44
- ren " %INSTALL_PREFIX% \lib\libcurl-d.lib" " %INSTALL_PREFIX% \lib\curl.lib"
44
+ :: rename libcurl-d_imp.lib to curl.lib to allow linking using -lcurl
45
+ ren " %INSTALL_PREFIX% \lib\libcurl*.lib" " curl.lib" || exit /b 1
You can’t perform that action at this time.
0 commit comments