emscripten/em++.py

18 строки
480 B
Python
Исходник Обычный вид История

#!/usr/bin/env python3
# Copyright 2011 The Emscripten Authors. All rights reserved.
# Emscripten is available under two separate licenses, the MIT license and the
# University of Illinois/NCSA Open Source License. Both these licenses can be
# found in the LICENSE file.
import sys
import emcc
emcc.run_via_emxx = True
if __name__ == '__main__':
try:
sys.exit(emcc.run(sys.argv))
except KeyboardInterrupt:
emcc.logger.warning('KeyboardInterrupt')
sys.exit(1)