mirror of
git://code.qt.io/qt/qt5.git
synced 2026-02-01 11:26:04 +08:00
Add temporary emsdk_env.bat for webassembly
Let's use this temporary hack so that we can get support for setting Emscripten environment for Webassembly through qtbase This change will be removed when we start installing emsdk using emsdk.git. That installation process will automatically set emsdk_env.bat Change-Id: I6eb417b28c9ca0cd01a743dea2fa38540fd4dcc3 Reviewed-by: Toni Saario <toni.saario@qt.io>
This commit is contained in:
@@ -113,6 +113,11 @@ Set-EnvironmentVariable "EMSDK_PATH" "$installLocationEmsdk\emscripten-llvm-e$ve
|
||||
|
||||
Add-Path "$env:EMSDK_PATH"
|
||||
|
||||
# These can be removed when installing emsdk using emsdk.git
|
||||
Set-Content -Path C:\Utils\emsdk\emsdk_env.bat -Value ":: This file is needed to get support for setting Emscripten environment for Webassembly through qtbase" -Encoding ASCII
|
||||
Set-Content -Path C:\Utils\emsdk\emsdk_env.bat -Value ":: This file will have environment variables when https://codereview.qt-project.org/c/qt/qt5/+/372122 get merged" -Encoding ASCII
|
||||
Set-Content -Path C:\Utils\emsdk\emsdk_env.bat -Value "echo nothing to run at this point" -Encoding ASCII
|
||||
|
||||
Write-Output "emsdk = $version" >> ~/versions.txt
|
||||
Write-Output "emsdk llvm = $version" >> ~/versions.txt
|
||||
Write-Output "emsdk NodeJs = $versionNode" >> ~/versions.txt
|
||||
|
||||
Reference in New Issue
Block a user