-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSetup.cmd
More file actions
38 lines (33 loc) · 1.32 KB
/
Setup.cmd
File metadata and controls
38 lines (33 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
@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-22.
@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=<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