generated from Ryan-rsm-McKenzie/ExamplePlugin-CommonLibSSE
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert executable name difference. Properly add version metadata to c…
…ode and rc file. Make AE/SE show up under Product Version.
- Loading branch information
Showing
5 changed files
with
50 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,27 @@ | ||
#ifndef VERSION_HPP | ||
#define VERSION_HPP | ||
|
||
namespace version | ||
{ | ||
inline constexpr std::size_t MAJOR = @PROJECT_VERSION_MAJOR@; | ||
inline constexpr std::size_t MINOR = @PROJECT_VERSION_MINOR@; | ||
inline constexpr std::size_t PATCH = @PROJECT_VERSION_PATCH@; | ||
inline constexpr auto NAME = "@PROJECT_VERSION@"sv; | ||
inline constexpr auto PROJECT = "@PROJECT_NAME@"sv; | ||
} | ||
|
||
#endif // VERSION_HPP | ||
#ifndef VERSION_HPP | ||
#define VERSION_HPP | ||
|
||
#include <string_view> | ||
|
||
namespace meta | ||
{ | ||
using namespace std::literals; | ||
|
||
inline constexpr auto NAME = "@PROJECT_NAME@"sv; | ||
|
||
namespace version { | ||
inline constexpr unsigned int MAJOR = @PROJECT_VERSION_MAJOR@; | ||
inline constexpr unsigned int MINOR = @PROJECT_VERSION_MINOR@; | ||
inline constexpr unsigned int PATCH = @PROJECT_VERSION_PATCH@; | ||
|
||
inline constexpr auto SKYRIM = "@SKYRIM_VERSION@"sv; | ||
|
||
inline constexpr auto STRING = "@PROJECT_VERSION@"sv; | ||
/** | ||
* The full version string including the game version it is built for. | ||
*/ | ||
inline constexpr auto FULL_STRING = "@PROJECT_VERSION@-@SKYRIM_VERSION@"sv; | ||
} // namespace version | ||
} // namespace meta | ||
|
||
#endif // VERSION_HPP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ BEGIN | |
VALUE "InternalName", "@PROJECT_NAME@" | ||
VALUE "LegalCopyright", "MIT License" | ||
VALUE "ProductName", "@PROJECT_NAME@" | ||
VALUE "ProductVersion", "@[email protected]" | ||
VALUE "ProductVersion", "@[email protected]-@SKYRIM_VERSION@" | ||
END | ||
END | ||
BLOCK "VarFileInfo" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters