1.99.90
This commit is contained in:
25
MyxCMake/lib/generators/GitInfo.hpp.in
Normal file
25
MyxCMake/lib/generators/GitInfo.hpp.in
Normal file
@ -0,0 +1,25 @@
|
||||
#pragma once
|
||||
|
||||
#if defined (@PREFIX@GIT_REV)
|
||||
#error "Duplicate definition of macros @PREFIX@GIT_REV"
|
||||
#else
|
||||
#define @PREFIX@GIT_REV "@GIT_REV@"
|
||||
#endif
|
||||
|
||||
#if defined (@PREFIX@GIT_DIFF)
|
||||
#error "Duplicate definition of macros @PREFIX@GIT_DIFF"
|
||||
#else
|
||||
#define @PREFIX@GIT_DIFF "@GIT_DIFF@"
|
||||
#endif
|
||||
|
||||
#if defined (@PREFIX@GIT_BRANCH)
|
||||
#error "Duplicate definition of macros @PREFIX@GIT_BRANCH"
|
||||
#else
|
||||
#define @PREFIX@GIT_BRANCH "@GIT_BRANCH@"
|
||||
#endif
|
||||
|
||||
#if defined (@PREFIX@GIT_TAG)
|
||||
#error "Duplicate definition of macros @PREFIX@GIT_TAG"
|
||||
#else
|
||||
#define @PREFIX@GIT_TAG "@GIT_TAG@"
|
||||
#endif
|
Reference in New Issue
Block a user