7 Commits

Author SHA1 Message Date
Tom Finegan
fdaa47cd23 draco cmake: Improve Android NDK toolchain support and fix a bug.
- Move common NDK settings into cmake/toolchains/android-ndk-common.cmake.
- Fix bug in set_variable_if_unset(). Was ignoring variables set via
  CMake's command line.

Fixes #475.
2019-06-21 10:50:00 -07:00
Tom Finegan
5a999117b1 draco cmake: Run cmake-format on all CMake files. 2019-06-21 10:47:49 -07:00
Tom Finegan
fde45e52f2 Require Android NDK path in environment.
Updates require_var() and set_variable_if_unset() to use the
environment values for named variables.

CMake processes toolchain files multiple times, and on some
processing runs cache variables are not available. Environment
variables are always available.
2018-05-14 11:42:25 -07:00
Tom Finegan
16ca12ccd6 Improve Android CMake toolchains.
- Use the NDK directly instead of requiring standalone toolchains.
- Add x86 and x86_64 toolchains.
2018-05-08 09:19:20 -07:00
Frank Galligan
c61ddb67f3 Update Draco snapshot.
-Increase version to 1.0.1
-Update Javascript decode timing example
-Fix async creation of DracoDecoderModule
-fixes wasm parallel decoding
-Introduce base class for geometric normal predictor
-Added integer attribute interface to JavaScript decoder
-Move loading Draco decoder into three.js Draco loader
-Add compiler launcher support to CMake build
-Add sanitizer support via CMake build
-Check we are not reading past the end of the attribute buffer
2017-08-21 16:04:57 -07:00
Frank Galligan
da71b48359 Add more CMake helper scripts plus more CMake updates.
- Disallow in-tree CMake runs.
- Adds back CONTRIBUTING.md.

This fixes #130 and hopefully addresses #163.
2017-08-03 16:13:08 -07:00
Ondrej Stava
d0f313d292 Silence unknown link language warnings.
Fixes https://github.com/google/draco/issues/162
2017-08-02 15:17:59 -07:00