blob: 09b3653d909e502ee78e88fc82d99a54eeb28430 [file] [log] [blame]
#!/usr/bin/env python
# This script should work in python 2 *or* 3. It loads emcc.py, which needs python 2.
# It also tells emcc.py that we want C++ and not C by default
from tools import python_selector
import os
import sys
sys.argv += ['--emscripten-cxx']
emcc = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'emcc')
if __name__ == '__main__':
python_selector.run(emcc, profile=True)