-
-
Notifications
You must be signed in to change notification settings - Fork 386
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CMake: Compile meta-data information and icon file on Windows
The meta-data will give information about the program, such as its license, version, and description. Signed-off-by: Paul Cercueil <[email protected]>
- Loading branch information
Showing
2 changed files
with
36 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#include <windows.h> | ||
AppIcon ICON DISCARDABLE "@CMAKE_SOURCE_DIR@/application-icon/pioneer.ico" | ||
|
||
LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT | ||
|
||
VS_VERSION_INFO VERSIONINFO | ||
FILEVERSION @PROJECT_VERSION@ | ||
BEGIN | ||
BLOCK "StringFileInfo" | ||
BEGIN | ||
BLOCK "040904E4" | ||
BEGIN | ||
VALUE "FileVersion", "@PROJECT_VERSION@" | ||
VALUE "CompanyName", "Pioneer developers" | ||
VALUE "FileDescription", "Pioneer Space Simulator" | ||
VALUE "InternalName", "Pioneer" | ||
VALUE "LegalCopyright", "Copyright 2008-@BUILD_YEAR@ Pioneer developers" | ||
VALUE "LegalTrademarks", "https://www.gnu.org/licenses/gpl-3.0.en.html" | ||
VALUE "OriginalFilename", "pioneer.exe" | ||
VALUE "ProductName", "Pioneer" | ||
VALUE "ProductVersion", "@PROJECT_VERSION@" | ||
END | ||
END | ||
|
||
BLOCK "VarFileInfo" | ||
BEGIN | ||
VALUE "Translation", 0x409, 1252 | ||
END | ||
END |