Commit graph

10 commits

Author SHA1 Message Date
saschawillems
dfd0a293ad Added viewport array sample android build files 2017-12-01 22:21:30 +01:00
saschawillems
d88fbcba0b Added missing samples to build scripts 2017-11-04 16:37:52 +01:00
Ciro Santilli
848310ffdb Allow Linux users to build Android even if Python 2 is their default Python
After this commit, users who have the `python` executable as Python 2 can do simply:

    cd android/
    ./build-all.py
    ./build.py

Previously, the following would fail:

    python3 build-all.py

since build-all.py did subcalls to `python build.py`.

Remove install-all.py as it is redundant with `build-all.py -deploy`,
instead of fixing it as well.

Introduce argparse since we are separating argument parsing out of
the `main()` function.

Tested in Ubuntu 16.04, behaviour should be unchanged for Windows.
2017-10-26 17:09:59 +01:00
saschawillems
6ea5c2031b Android build files for headless rendering example
Refs #331
2017-09-16 14:18:30 +02:00
saschawillems
bc8b53ce7b Android fixes and build files for headless compute example 2017-09-15 20:44:32 +02:00
saschawillems
e05de0b93a Added stencil buffer outlining example 2017-08-16 21:02:08 +02:00
saschawillems
be70aff2ae Added compute cloth example Android build files 2017-08-07 22:02:56 +02:00
Piasy
7e2787413b Fix Android install script issue:
1. FileNotFoundError:

``` bash
Traceback (most recent call last):
  File "install-all.py", line 11, in <module>
    if subprocess.call("python build-all.py -deploy %s" % BUILD_ARGUMENTS) != 0:
  File "/Users/piasy/anaconda3/lib/python3.6/subprocess.py", line 267, in call
    with Popen(*popenargs, **kwargs) as p:
  File "/Users/piasy/anaconda3/lib/python3.6/subprocess.py", line 707, in __init__
    restore_signals, start_new_session)
  File "/Users/piasy/anaconda3/lib/python3.6/subprocess.py", line 1326, in _execute_child
    raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] No such file or directory: 'python build-all.py -deploy '
```

2. KeyError:

``` bash
Traceback (most recent call last):
  File "build.py", line 46, in <module>
    if "additional" in EXAMPLE_JSON["assets"]:
KeyError: 'assets'
```
2017-06-26 14:04:31 +08:00
saschawillems
c849d18db3 Added imgui example Android build 2017-03-31 09:52:26 +02:00
saschawillems
d02e470355 Replaced windows batch files with (extended) python scripts (Refs #297) [skip ci] 2017-03-18 16:19:52 +01:00