cbba00d473
* discover build folder, don't assume or require Signed-off-by: Jonny Gallowy <gallowj@amazon.com> * update config_utils, no cyclical imports Signed-off-by: Jonny Gallowy <gallowj@amazon.com> * improved docstrings and some code formatting Signed-off-by: Jonny Gallowy <gallowj@amazon.com> * updates to config.py Signed-off-by: Jonny Gallowy <gallowj@amazon.com> * updates to config_utils.py Signed-off-by: Jonny Gallowy <gallowj@amazon.com> * dccsi bootstrap changes Signed-off-by: Jonny Gallowy <gallowj@amazon.com> * fixed testing for bootstrap externally Signed-off-by: Jonny Gallowy <gallowj@amazon.com> * added note for installing substance automation toolkit for tool dev Signed-off-by: Jonny Gallowy <gallowj@amazon.com> * based on user feedback suppress global debug by default in IDE Signed-off-by: Jonny Gallowy <gallowj@amazon.com> * small adjustments Signed-off-by: Jonny Gallowy <gallowj@amazon.com>
53 lines
1.3 KiB
Batchfile
53 lines
1.3 KiB
Batchfile
@echo off
|
|
REM
|
|
REM Copyright (c) Contributors to the Open 3D Engine Project.
|
|
REM For complete copyright and license terms please see the LICENSE at the root of this distribution.
|
|
REM
|
|
REM SPDX-License-Identifier: Apache-2.0 OR MIT
|
|
REM
|
|
REM
|
|
|
|
:: Sets up environment for Lumberyard DCC tools and code access
|
|
|
|
:: Skip initialization if already completed
|
|
IF "%DCCSI_ENV_VSCODE_INIT%"=="1" GOTO :END_OF_FILE
|
|
|
|
:: Store current dir
|
|
%~d0
|
|
cd %~dp0
|
|
PUSHD %~dp0
|
|
|
|
:: Initialize env
|
|
CALL %~dp0\Env_Core.bat
|
|
CALL %~dp0\Env_Python.bat
|
|
CALL %~dp0\Env_Qt.bat
|
|
|
|
::SETLOCAL ENABLEDELAYEDEXPANSION
|
|
|
|
:: vscode has either a user install or a system install
|
|
:: https://code.visualstudio.com/#alt-downloads
|
|
:: that will change the paths assumed in this launcher (assume system install)
|
|
:: vscode envars: https://code.visualstudio.com/docs/editor/variables-reference
|
|
|
|
IF "%VSCODE_WRKSPC%"=="" (SET VSCODE_WRKSPC=%PATH_DCCSIG%\Solutions\.vscode\dccsi.code-workspace)
|
|
|
|
echo.
|
|
echo _____________________________________________________________________
|
|
echo.
|
|
echo ~ O3DE DCCsi WingIDE Environment ...
|
|
echo _____________________________________________________________________
|
|
echo.
|
|
|
|
echo VSCODE_WRKSPC = %VSCODE_WRKSPC%
|
|
|
|
::ENDLOCAL
|
|
|
|
:: Set flag so we don't initialize dccsi environment twice
|
|
SET DCCSI_ENV_VSCODE_INIT=1
|
|
GOTO END_OF_FILE
|
|
|
|
:: Return to starting directory
|
|
POPD
|
|
|
|
:END_OF_FILE
|