setBuildVar

setBuildVar(o, key, val)

Creates an environment variable key=val visible to all processes invoked by the build process.

Example

def on_project_build(e):
    ide.setBuildVar(e,"THIS","ISaTest") #sets THIS=IsaTest in the build environment.