Add automatic git or release version retrieval
[dueringa_WikiWalker.git] / src / version.h.in
blob8ba88881b2adc55f1c239cc0334199f59290c1ce
1 #ifndef _VERSION_H_GEN
2 #define _VERSION_H_GEN
4 #cmakedefine GIT_RAN_SUCCESSFULLY
6 #ifdef GIT_RAN_SUCCESSFULLY
7 constexpr char _WW_VERSION[] = "@GIT_OUTPUT_VERSION@";
8 #else // GIT_RAN_SUCCESSFULLY
9 constexpr char _WW_VERSION[] = "@walker_version@";
10 #endif // GIT_RAN_SUCCESSFULLY
15 #endif // _VERSION_H_GEN