diff options
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_ |