mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
iis: Renamves winbuild to dependencies
Since the directory becomes all about dependencies there is no need to call it winbuild anymore.
This commit is contained in:
committed by
Felipe Zimmerle
parent
9f8cbf6ed8
commit
1447766e81
29
iis/dependencies/build_curl.bat
Normal file
29
iis/dependencies/build_curl.bat
Normal file
@@ -0,0 +1,29 @@
|
||||
cd "%WORK_DIR%"
|
||||
|
||||
@if NOT EXIST "%SOURCE_DIR%\%CURL%" goto file_not_found_bin
|
||||
|
||||
7z.exe x "%SOURCE_DIR%\%CURL%"
|
||||
|
||||
set CURL_DIR=%CURL:~0,-4%
|
||||
|
||||
copy /y CMakeLists.txt "%CURL_DIR%"
|
||||
CD "%CURL_DIR%"
|
||||
CMAKE -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_SHARED_LIBS=True -DCURL_ZLIB=True
|
||||
"%WORK_DIR%\fart.exe" -r -C "%WORK_DIR%\%CURL_DIR%\include\curl\curlbuild.h" LLU ULL
|
||||
NMAKE
|
||||
|
||||
cd "%WORK_DIR%"
|
||||
|
||||
copy /y "%WORK_DIR%\%CURL_DIR%\lib\libcurl.dll" "%OUTPUT_DIR%"
|
||||
copy /y "%WORK_DIR%\%CURL_DIR%\lib\libcurl.pdb" "%OUTPUT_DIR%"
|
||||
copy /y "%WORK_DIR%\%CURL_DIR%\lib\libcurl_imp.lib" "%OUTPUT_DIR%"
|
||||
|
||||
exit /B 0
|
||||
|
||||
:file_not_found_bin
|
||||
@echo File not found: "%SOURCE_DIR%\%CURL%"
|
||||
@goto failed
|
||||
|
||||
:failed
|
||||
@exit /B 1
|
||||
|
Reference in New Issue
Block a user