Commit 2b4bf9ad authored by prudhomm's avatar prudhomm
Browse files

new versioning system

parent 9f5af257
......@@ -4,18 +4,23 @@
AC_INIT([lifev], [0.6.90@CVSDATE@], [lifev-dev@webmail.mate.polimi.it])
#AC_INIT([lifev], [0.7.0], [lifev-dev@webmail.mate.polimi.it])
LIFEV_MAJOR_VERSION=0
LIFEV_MINOR_VERSION=6
LIFEV_MICRO_VERSION=90
LIFEV_EXTRA_VERSION=@CVSDATE@
AC_SUBST(LIFEV_MAJOR_VERSION)
AC_SUBST(LIFEV_MINOR_VERSION)
AC_SUBST(LIFEV_MICRO_VERSION)
AC_SUBST(LIFEV_EXTRA_VERSION)
LIFEV_VERSION_MAJOR=0
LIFEV_VERSION_MINOR=6
LIFEV_VERSION_MICRO=90
LIFEV_VERSION_EXTRA=@CVSDATE@
AC_SUBST(LIFEV_VERSION_MAJOR)
AC_SUBST(LIFEV_VERSION_MINOR)
AC_SUBST(LIFEV_VERSION_MICRO)
AC_SUBST(LIFEV_VERSION_EXTRA)
AC_DEFINE_UNQUOTED(LIFEV_VERSION_MAJOR,$LIFEV_VERSION_MAJOR,[major version number])
AC_DEFINE_UNQUOTED(LIFEV_VERSION_MINOR,$LIFEV_VERSION_MINOR,[minor version number])
AC_DEFINE_UNQUOTED(LIFEV_VERSION_MICRO,$LIFEV_VERSION_MICRO,[micro version number])
AC_DEFINE_UNQUOTED(LIFEV_VERSION_EXTRA,$LIFEV_VERSION_EXTRA,[extra version information: date, cvs, ...])
LIFEV_PACKAGE=lifev
LIFEV_VERSION=${LIFEV_MAJOR_VERSION}.${LIFEV_MINOR_VERSION}.${LIFEV_MICRO_VERSION}${LIFEV_EXTRA_VERSION}
LIFEV_VERSION=${LIFEV_VERSION_MAJOR}.${LIFEV_VERSION_MINOR}.${LIFEV_VERSION_MICRO}${LIFEV_VERSION_EXTRA}
AC_DEFINE_UNQUOTED(LIFEV_VERSION_STRING,["${LIFEV_VERSION_MAJOR}.${LIFEV_VERSION_MINOR}.${LIFEV_VERSION_MICRO} (${LIFEV_VERSION_EXTRA})"],[LifeV version string])
PACKAGE=$LIFEV_PACKAGE
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment