mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 14:02:57 +02:00
Merge pull request #8969 from huffman/feat/task-manager-app-name
Add "High Fidelity" to sandbox and interface description in Windows Task Manager
This commit is contained in:
commit
3d160cca75
3 changed files with 28 additions and 2 deletions
22
cmake/templates/VersionInfo.rc.in
Normal file
22
cmake/templates/VersionInfo.rc.in
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
// Language and character set information as described at
|
||||||
|
// https://msdn.microsoft.com/en-us/library/windows/desktop/aa381049(v=vs.85).aspx
|
||||||
|
#define US_ENGLISH_UNICODE "040904B0"
|
||||||
|
|
||||||
|
// More information about the format of this file can be found at
|
||||||
|
// https://msdn.microsoft.com/en-us/library/windows/desktop/aa381058(v=vs.85).aspx
|
||||||
|
1 VERSIONINFO
|
||||||
|
BEGIN
|
||||||
|
BLOCK "StringFileInfo"
|
||||||
|
BEGIN
|
||||||
|
BLOCK US_ENGLISH_UNICODE
|
||||||
|
BEGIN
|
||||||
|
VALUE "CompanyName", "@BUILD_ORGANIZATION@"
|
||||||
|
VALUE "FileDescription", "@APP_FULL_NAME@"
|
||||||
|
VALUE "FileVersion", "@BUILD_VERSION@"
|
||||||
|
VALUE "InternalName", "@TARGET_NAME@"
|
||||||
|
VALUE "OriginalFilename", "@TARGET_NAME@.exe"
|
||||||
|
VALUE "ProductName", "@APP_FULL_NAME@"
|
||||||
|
VALUE "ProductVersion", "@BUILD_VERSION@"
|
||||||
|
END
|
||||||
|
END
|
||||||
|
END
|
|
@ -133,8 +133,12 @@ elseif (WIN32)
|
||||||
set(CONFIGURE_ICON_RC_OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/Icon.rc")
|
set(CONFIGURE_ICON_RC_OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/Icon.rc")
|
||||||
configure_file("${HF_CMAKE_DIR}/templates/Icon.rc.in" ${CONFIGURE_ICON_RC_OUTPUT})
|
configure_file("${HF_CMAKE_DIR}/templates/Icon.rc.in" ${CONFIGURE_ICON_RC_OUTPUT})
|
||||||
|
|
||||||
|
set(APP_FULL_NAME "High Fidelity Interface")
|
||||||
|
set(CONFIGURE_VERSION_INFO_RC_OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/VersionInfo.rc")
|
||||||
|
configure_file("${HF_CMAKE_DIR}/templates/VersionInfo.rc.in" ${CONFIGURE_VERSION_INFO_RC_OUTPUT})
|
||||||
|
|
||||||
# add an executable that also has the icon itself and the configured rc file as resources
|
# add an executable that also has the icon itself and the configured rc file as resources
|
||||||
add_executable(${TARGET_NAME} WIN32 ${INTERFACE_SRCS} ${QM} ${CONFIGURE_ICON_RC_OUTPUT})
|
add_executable(${TARGET_NAME} WIN32 ${INTERFACE_SRCS} ${QM} ${CONFIGURE_ICON_RC_OUTPUT} ${CONFIGURE_VERSION_INFO_RC_OUTPUT})
|
||||||
|
|
||||||
if (NOT DEV_BUILD)
|
if (NOT DEV_BUILD)
|
||||||
add_custom_command(
|
add_custom_command(
|
||||||
|
|
|
@ -37,7 +37,7 @@ if (osType == "Darwin") {
|
||||||
} else if (osType == "Windows_NT") {
|
} else if (osType == "Windows_NT") {
|
||||||
options["version-string"] = {
|
options["version-string"] = {
|
||||||
CompanyName: "High Fidelity, Inc.",
|
CompanyName: "High Fidelity, Inc.",
|
||||||
FileDescription: SHORT_NAME,
|
FileDescription: FULL_NAME,
|
||||||
ProductName: FULL_NAME,
|
ProductName: FULL_NAME,
|
||||||
OriginalFilename: EXEC_NAME + ".exe"
|
OriginalFilename: EXEC_NAME + ".exe"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue