aboutsummaryrefslogtreecommitdiff
path: root/projects
diff options
context:
space:
mode:
Diffstat (limited to 'projects')
-rw-r--r--projects/build-openssl.bat2
-rw-r--r--projects/build-wolfssl.bat2
-rw-r--r--projects/checksrc.bat8
3 files changed, 12 insertions, 0 deletions
diff --git a/projects/build-openssl.bat b/projects/build-openssl.bat
index e2bcf751e..19b7357cf 100644
--- a/projects/build-openssl.bat
+++ b/projects/build-openssl.bat
@@ -24,6 +24,8 @@ rem ***************************************************************************
:begin
rem Check we are running on a Windows NT derived OS
if not "%OS%" == "Windows_NT" goto nodos
+
+ rem Set our variables
setlocal
set VC_VER=
set BUILD_PLATFORM=
diff --git a/projects/build-wolfssl.bat b/projects/build-wolfssl.bat
index ad755e937..52f714d6a 100644
--- a/projects/build-wolfssl.bat
+++ b/projects/build-wolfssl.bat
@@ -25,6 +25,8 @@ rem ***************************************************************************
:begin
rem Check we are running on a Windows NT derived OS
if not "%OS%" == "Windows_NT" goto nodos
+
+ rem Set our variables
setlocal
set SUCCESSFUL_BUILDS=
set VC_VER=
diff --git a/projects/checksrc.bat b/projects/checksrc.bat
index 37dc808a9..23d3aa2e7 100644
--- a/projects/checksrc.bat
+++ b/projects/checksrc.bat
@@ -24,6 +24,8 @@ rem ***************************************************************************
:begin
rem Check we are running on a Windows NT derived OS
if not "%OS%" == "Windows_NT" goto nodos
+
+ rem Set our variables
setlocal
:parseArgs
@@ -50,12 +52,18 @@ rem ***************************************************************************
if not exist "%SRC_DIR%" goto nosrc
:start
+ rem Check the src directory
for /f "delims=" %%i in ('dir "%SRC_DIR%\src\*.c.*" /b') do @perl "%SRC_DIR%\lib\checksrc.pl" "-D%SRC_DIR%\src" -Wtool_hugehelp.c "%%i"
for /f "delims=" %%i in ('dir "%SRC_DIR%\src\*.h.*" /b') do @perl "%SRC_DIR%\lib\checksrc.pl" "-D%SRC_DIR%\src" "%%i"
+
+ rem Check the lib directory
for /f "delims=" %%i in ('dir "%SRC_DIR%\lib\*.c.*" /b') do @perl "%SRC_DIR%\lib\checksrc.pl" "-D%SRC_DIR%\lib" "%%i"
for /f "delims=" %%i in ('dir "%SRC_DIR%\lib\*.h.*" /b') do @perl "%SRC_DIR%\lib\checksrc.pl" "-D%SRC_DIR%\lib" -Wcurl_config.h.cmake "%%i"
+
+ rem Check the vtls directory
for /f "delims=" %%i in ('dir "%SRC_DIR%\lib\vtls\*.c.*" /b') do @perl "%SRC_DIR%\lib\checksrc.pl" "-D%SRC_DIR%\lib\vtls" "%%i"
for /f "delims=" %%i in ('dir "%SRC_DIR%\lib\vtls\*.h.*" /b') do @perl "%SRC_DIR%\lib\checksrc.pl" "-D%SRC_DIR%\lib\vtls" "%%i"
+
goto success
:syntax