emscripten-core / emscripten-core/emscripten
Any way to set the ENV enviroment variables during compilation?
Open
- Dominant language
- C++
- Stars
- 27.6k
- Forks
- 3.6k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 105
Description
**Version of emscripten/emsdk:**
3.1.54
Hi, may I enquire if there is any way to set the environment variables during compilation? I do see the way to set the environments in JavaScript code here https://emscripten.org/docs/porting/connecting_cpp_and_javascript/Interacting-with-code.html#environment-variables, but I'm just curious if it could be set up during compilation. I tried to use `set_property` in CMake but it seems can't work.
Thank you very much!
Contributor guide
Assessment
This issue has not been assessed yet.