Skip to content

Support environment variables #19

Description

@devappd

Useful for EMCC_LOCAL_PORTS

  • Specify environment variable in emscripten.settings.js.
    • Top-level to project (i.e., sibling to type: "cmake" etc.), or specify per step?
  • Pass environment variable to emsdk.run()
    • Copy process.env, append our variable, then specify child_process.spawn({ env: ourEnv })

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions