aboutsummaryrefslogtreecommitdiff
path: root/projects/build-wolfssl.bat
diff options
context:
space:
mode:
Diffstat (limited to 'projects/build-wolfssl.bat')
-rw-r--r--projects/build-wolfssl.bat11
1 files changed, 7 insertions, 4 deletions
diff --git a/projects/build-wolfssl.bat b/projects/build-wolfssl.bat
index 53188e853..ad755e937 100644
--- a/projects/build-wolfssl.bat
+++ b/projects/build-wolfssl.bat
@@ -30,11 +30,8 @@ rem ***************************************************************************
set VC_VER=
set BUILD_PLATFORM=
- rem Display the help
+ rem Ensure we have the required arguments
if /i "%~1" == "" goto syntax
- if /i "%~1" == "-?" goto syntax
- if /i "%~1" == "-h" goto syntax
- if /i "%~1" == "-help" goto syntax
:parseArgs
if "%~1" == "" goto prerequisites
@@ -67,6 +64,12 @@ rem ***************************************************************************
set BUILD_CONFIG=debug
) else if /i "%~1" == "release" (
set BUILD_CONFIG=release
+ ) else if /i "%~1" == "-?" (
+ goto syntax
+ ) else if /i "%~1" == "-h" (
+ goto syntax
+ ) else if /i "%~1" == "-help" (
+ goto syntax
) else (
if not defined START_DIR (
set START_DIR=%~1