emscripten/em++

13 строки
275 B
Python
Executable File

#!/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'
exit(subprocess.call([shared.PYTHON, shared.EMCC] + sys.argv[1:]))