Convert C++ code to read version string from file

This is definitely not a pretty thing. Double quotes are required around
the string which means they'll need to be removed in the NSIS and Python
scripts.
This commit is contained in:
Vasily
2019-04-19 22:29:20 +02:00
parent cd1522b9e2
commit 6cf009e915
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
3.1.0-dev-new
"3.1.0-dev-new"
+4 -1
View File
@@ -48,7 +48,10 @@ constexpr auto applicationOrganizationName = "AdvancedSettings-Team";
constexpr auto applicationName = "OpenVRAdvancedSettings";
constexpr const char* applicationKey = "OVRAS-Team.AdvancedSettings";
constexpr const char* applicationDisplayName = "Advanced Settings";
constexpr const char* applicationVersionString = "v3.1.0-dev";
constexpr const char* applicationVersionString = {
#include "../build_scripts/compile_version_string.txt"
};
} // namespace application_strings
// application namespace