Make build scripts Python3 compatible

- The Windows, UWP, Android (on Windows) and Linux builds are
  tested with Scons 3.0 alpha using Python 3.
- OSX and iOS should hopefully work but are not tested since
  I don't have a Mac.
- Builds using SCons 2.5 and Python 2 should not be impacted.
This commit is contained in:
Matthias Hoelzl 2017-08-26 18:53:49 +02:00
parent a919a013f5
commit b6e1e47e3a
17 changed files with 123 additions and 87 deletions

View file

@ -13,7 +13,7 @@ def get_name():
def can_build():
return (os.environ.has_key("EMSCRIPTEN_ROOT"))
return ("EMSCRIPTEN_ROOT" in os.environ)
def get_opts():