add version info

This commit is contained in:
Recep Aslantas
2017-05-21 01:31:25 +03:00
parent fb444203b6
commit 02513b77c1
4 changed files with 19 additions and 3 deletions

View File

@@ -155,7 +155,7 @@ Function usage and parameters are documented inside related headers.
**TODO:**
- [ ] Unit tests
- [ ] Unit tests for comparing cglm with glm results
- [ ] Add version info
- [x] Add version info
- [ ] Unaligned operations (e.g. `glm_umat4_mul`)
- [ ] Extra documentation
- [ ] ARM Neon Arch

View File

@@ -7,7 +7,7 @@
#*****************************************************************************
AC_PREREQ([2.69])
AC_INIT([cglm], [0.1.0], [info@recp.me])
AC_INIT([cglm], [0.2.0], [info@recp.me])
AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects])
AC_CONFIG_MACRO_DIR([m4])

15
include/cglm-version.h Normal file
View File

@@ -0,0 +1,15 @@
/*
* Copyright (c), Recep Aslantas.
*
* MIT License (MIT), http://opensource.org/licenses/MIT
* Full license can be found in the LICENSE file
*/
#ifndef cglm_version_h
#define cglm_version_h
#define CGLM_VERSION_MAJOR 0
#define CGLM_VERSION_MINOR 2
#define CGLM_VERSION_PATCH 0
#endif /* cglm_version_h */

View File

@@ -32,7 +32,8 @@ TESTS = $(check_PROGRAMS)
test_test_mat4_LDFLAGS = $(checkLDFLAGS)
test_test_mat4_CFLAGS = $(checkCFLAGS)
nobase_include_HEADERS = include/cglm.h \
nobase_include_HEADERS = include/cglm-version.h \
include/cglm.h \
include/cglm-call.h \
include/cglm-cam.h \
include/cglm-io.h \