emscripten/emcmake

10 строки
317 B
Python
Executable File

#!/usr/bin/env python2
import os, subprocess, sys
from tools import shared
configure_path = shared.path_from_root('emconfigure')
exit(subprocess.call([shared.PYTHON, configure_path] + \
sys.argv[1] + \
['-DCMAKE_CROSSCOMPILING_EMULATOR=' + shared.NODE_JS] + sys.argv[2:]))