version handling

This commit is contained in:
2024-07-09 12:38:10 -05:00
parent 466b3fcead
commit 097507a2d9
3 changed files with 4 additions and 4 deletions

View File

@ -29,7 +29,7 @@ auto get_repertory_git_revision() -> const std::string & {
}
auto get_repertory_version() -> const std::string & {
static const std::string version = "@REPERTORY_VERSION@";
static const std::string version = "@PROJECT_VERSION@";
return version;
}
} // namespace repertory

View File

@ -6,13 +6,13 @@
#define VER_PRODUCTVERSION_STR "@REPERTORY_VER_PRODUCTVERSION_STR@\0"
#define VER_COMPANYNAME_STR "@REPERTORY_VER_COMPANYNAME_STR@\0"
#define VER_INTERNALNAME_STR "Repertory @REPERTORY_VERSION@\0"
#define VER_INTERNALNAME_STR "Repertory @PROJECT_VERSION@\0"
#define VER_LEGALCOPYRIGHT_STR "@REPERTORY_VER_LEGALCOPYRIGHT_STR@\0"
#define VER_ORIGINALFILENAME_STR "repertory.exe\0"
#define VER_LEGALTRADEMARKS1_STR "\0"
#define VER_LEGALTRADEMARKS2_STR "\0"
#define VER_FILEDESCRIPTION_STR "@REPERTORY_VER_FILEDESCRIPTION_STR@\0"
#define VER_PRODUCTNAME_STR "Repertory v@REPERTORY_VERSION@\0"
#define VER_PRODUCTNAME_STR "Repertory @PROJECT_VERSION@\0"
#ifdef DEBUG
#define VER_DEBUG VS_FF_DEBUG