https://github.com/kripken/emscripten
Raw File
Tip revision: 852ce1b12ffef27885c2fa98b4ba50897850e464 authored by Alon Zakai on 26 August 2013, 04:41:20 UTC
import js library stuff into asm shared libraries, but do not generate the js library, reuse the parent's
Tip revision: 852ce1b
em++
#!/usr/bin/env python2

'''
See emcc.py. This script forwards to there, noting that we want C++ and not C by default
'''

import os, subprocess, sys
from tools import shared

os.environ['EMMAKEN_CXX'] = '1'
if not os.path.exists(shared.PYTHON):
  print >> sys.stderr, 'warning: PYTHON does not seem to be defined properly in ~/.emscripten (%s)' % shared.PYTHON
exit(subprocess.call([shared.PYTHON, shared.EMCC] + sys.argv[1:]))

back to top