27 lines
588 B
C++
27 lines
588 B
C++
// -*- C++ -*-
|
|
#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
|