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:
Jukka Jylänki
2013-09-10 17:18:04 +03:00
parent f717c391ed
commit 8266419d3e
3 changed files with 55 additions and 15 deletions

View File

@@ -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