File tree 6 files changed +39
-2
lines changed
6 files changed +39
-2
lines changed Original file line number Diff line number Diff line change @@ -12,14 +12,17 @@ set CURRENT_DIR=%cd%
12
12
cd ..\apache2
13
13
del *.obj *.dll *.lib
14
14
NMAKE -f Makefile.win APACHE=..\iis\%DEPENDENCIES_DIR% \Apache24 PCRE=..\iis\%DEPENDENCIES_DIR% \pcre LIBXML2=..\iis\%DEPENDENCIES_DIR% \libxml2 LUA=..\iis\%DEPENDENCIES_DIR% \lua\src VERSION=VERSION_IIS
15
+ @ if NOT (%ERRORLEVEL% ) == (0) goto build_failed
15
16
16
17
cd ..\mlogc
17
18
nmake -f Makefile.win clean
18
19
nmake -f Makefile.win APACHE=..\iis\%DEPENDENCIES_DIR% \Apache24 PCRE=..\iis\%DEPENDENCIES_DIR% \pcre CURL=..\iis\%DEPENDENCIES_DIR% \curl VERSION=VERSION_IIS
20
+ @ if NOT (%ERRORLEVEL% ) == (0) goto build_failed
19
21
20
22
cd ..\iis
21
23
nmake -f Makefile.win clean
22
24
NMAKE -f Makefile.win APACHE=..\iis\%DEPENDENCIES_DIR% \Apache24 PCRE=..\iis\%DEPENDENCIES_DIR% \pcre LIBXML2=..\iis\%DEPENDENCIES_DIR% \libxml2 LUA=..\iis\%DEPENDENCIES_DIR% \lua\src VERSION=VERSION_IIS
25
+ @ if NOT (%ERRORLEVEL% ) == (0) goto build_failed
23
26
24
27
cd %CURRENT_DIR%
25
28
@@ -33,6 +36,11 @@ exit /B 0
33
36
@ echo Please specify a valid vcargs
34
37
@ goto failed
35
38
39
+ :build_failed
40
+ @ echo Problems during the building phase
41
+ @ goto failed
42
+
36
43
:failed
37
44
@ cd %CURRENT_DIR%
38
- @ exit /B
45
+ @ exit /B 1
46
+
Original file line number Diff line number Diff line change @@ -11,9 +11,10 @@ mklink /D "curl" "%CURL_DIR%"
11
11
copy /y CMakeLists.txt " %CURL_DIR% "
12
12
CD " %CURL_DIR% "
13
13
CMAKE -G " NMake Makefiles" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_SHARED_LIBS=True -DCURL_ZLIB=True
14
+ @ if NOT (%ERRORLEVEL% ) == (0) goto build_failed
14
15
" %WORK_DIR% \fart.exe" -r -C " %WORK_DIR% \%CURL_DIR% \include\curl\curlbuild.h" LLU ULL
15
16
NMAKE
16
-
17
+ @ if NOT ( %ERRORLEVEL% ) == (0) goto build_failed
17
18
cd " %WORK_DIR% "
18
19
19
20
copy /y " %WORK_DIR% \%CURL_DIR% \lib\libcurl.dll" " %OUTPUT_DIR% "
@@ -26,6 +27,10 @@ exit /B 0
26
27
@ echo File not found: " %SOURCE_DIR% \%CURL% "
27
28
@ goto failed
28
29
30
+ :build_failed
31
+ @ echo Problems during the building phase
32
+ @ goto failed
33
+
29
34
:failed
30
35
@ exit /B 1
31
36
Original file line number Diff line number Diff line change @@ -11,7 +11,9 @@ mklink /D "libxml2" "%LIBXML2_DIR%"
11
11
fart.exe -r -i -C " %WORK_DIR% \%LIBXML2_DIR% \win32\*.*" \x2Fopt:nowin98 " "
12
12
cd " %LIBXML2_DIR% \win32"
13
13
CSCRIPT configure.js iconv=no vcmanifest=yes zlib=yes
14
+ @ if NOT (%ERRORLEVEL% ) == (0) goto build_failed
14
15
NMAKE -f Makefile.msvc
16
+ @ if NOT (%ERRORLEVEL% ) == (0) goto build_failed
15
17
16
18
cd " %WORK% "
17
19
@@ -24,6 +26,10 @@ copy /y "%WORK_DIR%\%LIBXML2_DIR%\win32\bin.msvc\libxml2.lib" "%OUTPUT_DIR%"
24
26
@ echo File not found: " %SOURCE_DIR% \%LIBXML2% "
25
27
@ goto failed
26
28
29
+ :build_failed
30
+ @ echo Problems during the building phase
31
+ @ goto failed
32
+
27
33
:failed
28
34
@ exit /B 1
29
35
Original file line number Diff line number Diff line change @@ -11,9 +11,12 @@ mklink /D "lua" "%LUA_DIR%"
11
11
cd " %LUA_DIR% \src"
12
12
13
13
CL /Ox /arch:SSE2 /GF /GL /Gy /FD /EHsc /MD /Zi /TC /wd4005 /D " _MBCS" /D " LUA_CORE" /D " LUA_BUILD_AS_DLL" /D " _CRT_SECURE_NO_WARNINGS" /D " WIN32" /D " NDEBUG" /D " _CONSOLE" /D " _WIN32" /D " _WINDLL" /c *.c
14
+ @ if NOT (%ERRORLEVEL% ) == (0) goto build_failed
14
15
DEL lua.obj luac.obj
15
16
LINK /DLL /LTCG /DEBUG /OUT:lua5.1.dll *.obj
17
+ @ if NOT (%ERRORLEVEL% ) == (0) goto build_failed
16
18
IF EXIST lua5.1.dll.manifest MT -manifest lua5.1.dll.manifest -outputresource:lua5.1.dll;2
19
+ @ if NOT (%ERRORLEVEL% ) == (0) goto build_failed
17
20
18
21
cd " %WORK_DIR% "
19
22
@@ -27,6 +30,10 @@ copy /y "%WORK_DIR%\%LUA_DIR%\src\lua5.1.lib" "%OUTPUT_DIR%"
27
30
@ echo File not found: " %SOURCE_DIR% \%LUA% "
28
31
@ goto failed
29
32
33
+ :build_failed
34
+ @ echo Problems during the building phase
35
+ @ goto failed
36
+
30
37
:failed
31
38
@ exit /B 1
32
39
Original file line number Diff line number Diff line change @@ -9,7 +9,9 @@ mklink /D "pcre" "%PCRE_DIR%"
9
9
10
10
cd " %PCRE_DIR% "
11
11
CMAKE -G " NMake Makefiles" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_SHARED_LIBS=True
12
+ @ if NOT (%ERRORLEVEL% ) == (0) goto build_failed
12
13
NMAKE
14
+ @ if NOT (%ERRORLEVEL% ) == (0) goto build_failed
13
15
cd " %WORK% "
14
16
15
17
copy /y " %WORK_DIR% \%PCRE_DIR% \pcre.dll" " %OUTPUT_DIR% "
@@ -22,5 +24,9 @@ echo "a"
22
24
@ echo File not found: " %SOURCE_DIR% \%PCRE% "
23
25
@ goto failed
24
26
27
+ :build_failed
28
+ @ echo Problems during the building phase
29
+ @ goto failed
30
+
25
31
:failed
26
32
@ exit /B 1
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ mklink /D "zlib" "%ZLIB_DIR%"
11
11
12
12
cd " %ZLIB_DIR% "
13
13
nmake -f win32\Makefile.msc
14
+ @ if NOT (%ERRORLEVEL% ) == (0) goto build_failed
14
15
SET INCLUDE = %INCLUDE% ;%WORK_DIR% \%ZLIB_DIR%
15
16
SET LIB = %LIB% ;%WORK_DIR% \%ZLIB_DIR%
16
17
cd " %WORK_DIR% "
@@ -25,5 +26,9 @@ copy /y "%WORK_DIR%\%ZLIB_DIR%\zdll.lib" "%OUTPUT_DIR%"
25
26
@ echo File not found: " %SOURCE_DIR% \%ZLIB% "
26
27
@ goto failed
27
28
29
+ :build_failed
30
+ @ echo Problems during the building phase
31
+ @ goto failed
32
+
28
33
:failed
29
34
@ exit /B 1
You can’t perform that action at this time.
0 commit comments