diff options
author | Benjamin Schmithüsen <UX3D-schmithuesen> | 2019-04-11 12:26:23 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-04-11 13:04:53 +0300 |
commit | 4bad4bfc6ae5a81c44038cb1259f44befbb3afe0 (patch) | |
tree | 9b196d3ed0466406ba85441ea2314bedaeaea783 /extern/draco/dracoenc/cmake/draco_version.h.cmake | |
parent | a9d6356fee28d3567e956415a8eb08ab0bb7a0ab (diff) |
glTF: add Draco shared library for mesh compression.
Draco is added as a library under extern/ and builds a shared library that is
installed into the Python site-packages. This is then loaded by the glTF add-on
to do mesh compression.
Differential Revision: https://developer.blender.org/D4501
Diffstat (limited to 'extern/draco/dracoenc/cmake/draco_version.h.cmake')
-rw-r--r-- | extern/draco/dracoenc/cmake/draco_version.h.cmake | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/extern/draco/dracoenc/cmake/draco_version.h.cmake b/extern/draco/dracoenc/cmake/draco_version.h.cmake new file mode 100644 index 00000000000..506423ed34c --- /dev/null +++ b/extern/draco/dracoenc/cmake/draco_version.h.cmake @@ -0,0 +1,21 @@ +// If this file is named draco_version.h.cmake: +// This file is used as input at cmake generation time. + +// If this file is named draco_version.h: +// GENERATED FILE, DO NOT EDIT. SEE ABOVE. +#ifndef DRACO_DRACO_VERSION_H_ +#define DRACO_DRACO_VERSION_H_ + +#include "draco/core/draco_version.h" + +// Returns git hash of Draco git repository. +const char *draco_git_hash(); + +// Returns the output of the git describe command when run from the Draco git +// repository. +const char *draco_git_version(); + +// Returns the version string from core/draco_version.h. +const char* draco_version(); + +#endif // DRACO_DRACO_VERSION_H_ |