Files
itgmania212121/src/verstub.in.cpp
T
Jason Felds 99b79e5410 Generate verstub.cpp through raw cmake.
There is no need for an extra program.

As a bonus, generate a consistent windows vdi file.

There is still an issue with actually *reading* the vdi, but that's for someone else to tackle.
2015-10-02 21:56:02 -04:00

9 lines
512 B
C++

extern int const sm_version_major = @SM_VERSION_MAJOR@;
extern int const sm_version_minor = @SM_VERSION_MINOR@;
extern int const sm_version_patch = @SM_VERSION_PATCH@;
extern char const * const sm_version_git_hash = "@SM_VERSION_GIT_HASH@";
extern char const * const sm_version_traditional = "@SM_VERSION_TRADITIONAL@";
extern char const * const version_date = "@SM_TIMESTAMP_DATE@";
extern char const * const version_time = "@SM_TIMESTAMP_TIME@";
extern char const * const product_version = "@SM_VERSION_GIT@";