32 lines
1011 B
C++
32 lines
1011 B
C++
|
#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
|
||
|
|
||
|
#endif /* @CMLIB_PROJECT_NAME_CANONICAL@_CMLIB_GIT_VERSION_HPP_ */
|
||
|
|