FeaturizersLibrary/Setup.cmd

39 строки
1.3 KiB
Batchfile

@REM ----------------------------------------------------------------------
@REM |
@REM | Setup.cmd
@REM |
@REM | David Brownell <db@DavidBrownell.com>
@REM | 2018-04-20 11:21:37
@REM |
@REM ----------------------------------------------------------------------
@REM |
@REM | Copyright David Brownell 2018-19.
@REM | Distributed under the Boost Software License, Version 1.0.
@REM | (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
@REM |
@REM ----------------------------------------------------------------------
@echo off
@REM ----------------------------------------------------------------------
@REM |
@REM | Run as:
@REM | Setup.cmd [/debug] [/verbose] [/configuration_EQ_<config_name>]*
@REM |
@REM ----------------------------------------------------------------------
if "%DEVELOPMENT_ENVIRONMENT_FUNDAMENTAL%"=="" (
echo.
echo ERROR: Please run Activate.cmd within a repository before running this script. It may be necessary to Setup and Activate the Common_Environment repository before setting up this one.
echo.
goto end
)
pushd "%~dp0"
call %DEVELOPMENT_ENVIRONMENT_FUNDAMENTAL%\RepositoryBootstrap\Impl\Setup.cmd %*
set _SETUP_ERROR=%ERRORLEVEL%
popd
if %_SETUP_ERROR% NEQ 0 (exit /B %_SETUP_ERROR%)
:end