Skip to content

Commit

Permalink
add version info
Browse files Browse the repository at this point in the history
  • Loading branch information
recp committed May 20, 2017
1 parent fb44420 commit 02513b7
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#*****************************************************************************

AC_PREREQ([2.69])
AC_INIT([cglm], [0.1.0], [[email protected]])
AC_INIT([cglm], [0.2.0], [[email protected]])
AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects])

AC_CONFIG_MACRO_DIR([m4])
Expand Down
15 changes: 15 additions & 0 deletions include/cglm-version.h
Original file line number Diff line number Diff line change
@@ -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 */
3 changes: 2 additions & 1 deletion makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 02513b7

Please sign in to comment.