aboutsummaryrefslogtreecommitdiff
path: root/projects
diff options
context:
space:
mode:
authorJay Satiro <raysatiro@yahoo.com>2015-07-25 19:03:20 -0400
committerJay Satiro <raysatiro@yahoo.com>2015-07-25 19:03:20 -0400
commit6d62d2c55d203dfa4c307256cca3d1783c13bb57 (patch)
treec4fab04b45c6c1a2d19f84abfe8ce9109736e598 /projects
parent14b9e780d4e62145129ce559c1a895cb0700f210 (diff)
build-openssl.bat: Show syntax if required args are missing
Diffstat (limited to 'projects')
-rw-r--r--projects/build-openssl.bat6
1 files changed, 6 insertions, 0 deletions
diff --git a/projects/build-openssl.bat b/projects/build-openssl.bat
index 207ecf8bf..c1c3bbaf5 100644
--- a/projects/build-openssl.bat
+++ b/projects/build-openssl.bat
@@ -25,6 +25,8 @@ rem ***************************************************************************
rem Check we are running on a Windows NT derived OS
if not "%OS%" == "Windows_NT" goto nodos
setlocal
+ set VC_VER=
+ set BUILD_PLATFORM=
rem Display the help
if /i "%~1" == "" goto syntax
@@ -86,6 +88,10 @@ rem ***************************************************************************
shift & goto parseArgs
:prerequisites
+ rem Compiler and platform are required parameters.
+ if not defined VC_VER goto syntax
+ if not defined BUILD_PLATFORM goto syntax
+
rem Default the start directory if one isn't specified
if not defined START_DIR set START_DIR=..\..\openssl