24 lines
479 B
Batchfile
24 lines
479 B
Batchfile
@echo OFF
|
|
|
|
setlocal
|
|
|
|
set GSOAP_OUT=gSoapGeneratedCode
|
|
set WSDL_OUT=MPSAuthentication.h
|
|
set GSOAP_PATH=..\..\..\Common\ThirdParty\gSOAP
|
|
|
|
set OUT_PATH=%GSOAP_OUT%
|
|
if not [%~1]==[] (
|
|
set GSOAP_PATH=%1\Common\ThirdParty\gSOAP
|
|
)
|
|
|
|
mkdir %GSOAP_OUT%
|
|
|
|
pushd .
|
|
|
|
%GSOAP_PATH%\wsdl2h.exe -y -t gNameSpaces.dat -o %OUT_PATH%\%WSDL_OUT% MPSAuthentication.wsdl
|
|
%GSOAP_PATH%\soapcpp2.exe -x -L -C -I %GSOAP_PATH% -d %OUT_PATH% %OUT_PATH%\%WSDL_OUT%
|
|
del %OUT_PATH%\%WSDL_OUT%
|
|
popd
|
|
|
|
endlocal
|