@echo off
rem AUTOGENERATED by FslBuildGen 
rem Any manual changes to it will be lost if its regenerated.
rem FslBuild uses this script to launch the build to ensure that the environment is correctly configured.

rem Do any necessary environment configuration
##CONFIG_SCRIPTS##

rem Do a configuration check after we have run the scripts to ensure they are setup
FslBuildCheck.py -p ##PLATFORM_NAME## --project ##PACKAGE_TARGET_NAME## --UseFeatures [##FEATURE_LIST##]
if %errorlevel% neq 0 (
  pause
  exit /b %errorlevel%
)

rem Execute the build
pushd ##PROJECT_PATH##
call %*
if %errorlevel% neq 0 (
  popd
  exit /b %errorlevel%
)
popd
