Add emsdk_env.bat to create a mechanism of how to set up all environment variables required for a setup, not just PATH.
This commit is contained in:
@@ -2,12 +2,13 @@
|
||||
|
||||
:: Find python from an explicit location relative to the Emscripten SDK.
|
||||
IF EXIST "%~dp0python\2.7.5.1_32bit\python.exe" (
|
||||
"%~dp0python\2.7.5.1_32bit\python" "%~dp0\emsdk" %*
|
||||
call "%~dp0python\2.7.5.1_32bit\python" "%~dp0\emsdk" %*
|
||||
GOTO end
|
||||
)
|
||||
|
||||
:: As last resort, access from PATH.
|
||||
python "%~dp0\emsdk" %*
|
||||
call python "%~dp0\emsdk" %*
|
||||
GOTO end
|
||||
|
||||
:end
|
||||
@echo on
|
||||
|
||||
Reference in New Issue
Block a user