Skip to content

Commit

Permalink
Remove some version variables & rename others
Browse files Browse the repository at this point in the history
  • Loading branch information
poco0317 committed Nov 25, 2019
1 parent 1191b25 commit 14acf71
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 19 deletions.
8 changes: 3 additions & 5 deletions src/Etterna/verstub.in.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
// clang-format off
extern char const* const sm_version_git_hash = "@SM_VERSION_GIT_HASH@";
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@";
// clang-format on
extern char const* const version_git_hash = "@PRODUCT_GIT_HASH@";
extern char const* const product_version = "@PROJECT_VERSION@";
// clang-format on
26 changes: 12 additions & 14 deletions src/ver.h
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
#ifndef STEPMANIA_VER_H
#define STEPMANIA_VER_H

extern char const* const product_version;

// 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 char const* const version_time;
extern char const* const version_date;
extern char const* const sm_version_git_hash;

#endif
#ifndef STEPMANIA_VER_H
#define STEPMANIA_VER_H

extern char const* const product_version;

// 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 char const* const version_git_hash;

#endif

0 comments on commit 14acf71

Please sign in to comment.