2021-06-17 12:44:08 +00:00
|
|
|
#ifndef @CMLIB_PROJECT_NAME_UPPER@_CMLIB_GIT_VERSION_HPP_
|
|
|
|
#define @CMLIB_PROJECT_NAME_UPPER@_CMLIB_GIT_VERSION_HPP_
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#if defined (@CMLIB_PROJECT_NAME_UPPER@_GIT_REV)
|
|
|
|
#error "Duplicate definition of macros @CMLIB_PROJECT_NAME_UPPER@_GIT_REV"
|
|
|
|
#else
|
|
|
|
#define @CMLIB_PROJECT_NAME_UPPER@_GIT_REV "@CMLIB_GIT_REV@"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined (@CMLIB_PROJECT_NAME_UPPER@_GIT_DIFF)
|
|
|
|
#error "Duplicate definition of macros @CMLIB_PROJECT_NAME_UPPER@_GIT_DIFF"
|
|
|
|
#else
|
|
|
|
#define @CMLIB_PROJECT_NAME_UPPER@_GIT_DIFF "@CMLIB_GIT_DIFF@"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined (@CMLIB_PROJECT_NAME_UPPER@_GIT_BRANCH)
|
|
|
|
#error "Duplicate definition of macros @CMLIB_PROJECT_NAME_UPPER@_GIT_BRANCH"
|
|
|
|
#else
|
|
|
|
#define @CMLIB_PROJECT_NAME_UPPER@_GIT_BRANCH "@CMLIB_GIT_BRANCH@"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined (@CMLIB_PROJECT_NAME_UPPER@_GIT_TAG)
|
|
|
|
#error "Duplicate definition of macros @CMLIB_PROJECT_NAME_UPPER@_GIT_TAG"
|
|
|
|
#else
|
|
|
|
#define @CMLIB_PROJECT_NAME_UPPER@_GIT_TAG "@CMLIB_GIT_TAG@"
|
|
|
|
#endif
|
|
|
|
|
2021-06-17 12:49:49 +00:00
|
|
|
#endif /* @CMLIB_PROJECT_NAME_UPPER@_CMLIB_GIT_VERSION_HPP_ */
|
2021-06-17 12:44:08 +00:00
|
|
|
|