Codebase list emscripten / a224b0bd-44e3-47ce-9a7c-a850a17b103b/main em++.py
a224b0bd-44e3-47ce-9a7c-a850a17b103b/main

Tree @a224b0bd-44e3-47ce-9a7c-a850a17b103b/main (Download .tar.gz)

em++.py @a224b0bd-44e3-47ce-9a7c-a850a17b103b/mainraw · history · blame

#!/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)