Add Tool support for SCons #290

Merged
merged 1 commit into from Mar 5, 2012

Projects

None yet

1 participant

@ghost
ghost commented Mar 3, 2012

To use:

  • Link emscripten directory to /site_scons/site_tools/emscripten
  • Load into an Environment via env.Tool("emscripten")
  • Use Program and Library normally in SCons
LCID Fire Add Tool support for SCons
To use:
* Link emscripten directory to <ProjectRoot>/site_scons/site_tools/emscripten
* Load into an Environment via env.Tool("emscripten")
* Use Program and Library normally in SCons
9bcecf4
@kripken kripken merged commit 6fdaf94 into kripken:master Mar 5, 2012
@kripken
Owner
kripken commented Mar 5, 2012

Can you maybe make an example for using this?

@ghost
ghost commented Mar 5, 2012

SConscript could look like this:

env = Environment()
env.Tool("emscripten")
env.Program(
    target = "test",
    source = "test.c"
)
@kripken
Owner
kripken commented Mar 8, 2012

Thanks, what would be the best file to add the example to, do you think?

@ghost
ghost commented Mar 8, 2012

Where are the pointers to emmaken.py located?

@kripken
Owner
kripken commented Mar 9, 2012

Mentions of emmake, emconfigure etc. are mainly in https://github.com/kripken/emscripten/wiki/Building-Projects , maybe we should add scons stuff to there?

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