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.
17 lines
662 B
C
17 lines
662 B
C
#ifndef STEPMANIA_VER_H
|
|
#define STEPMANIA_VER_H
|
|
|
|
#if !defined(CMAKE_POWERED) && ( defined(_MSC_VER) || defined(__MACOSX__) )
|
|
#define product_version "5.0-UNKNOWN"
|
|
#else
|
|
extern char const * const product_version;
|
|
#endif
|
|
|
|
// XXX: These names are misnomers. This is actually the BUILD number, time and date.
|
|
// NOTE: In GNU toolchain these are defined in ver.cpp. In MSVC these are defined in archutils/Win32/verinc.c I think. Why? I don't know and I don't have MSVC. --root
|
|
extern unsigned long const version_num;
|
|
extern char const * const version_time;
|
|
extern char const * const version_date;
|
|
extern char const * const sm_version_git_hash;
|
|
|
|
#endif |