![Graham Bloice](/assets/img/avatar_default.png)
CMake now generates local copies of .rc files for all the Windows components and uses the files in the build of the components. The .rc.in files that include an icon were modified to allow the icon path to be set by CMake. The path is removed for nmake builds. Updated build architecture detection, required for wireshark.manifest.in Change-Id: I7b1ff43050e9b0efb861d1041636fb4aef49a4f8 Reviewed-on: https://code.wireshark.org/review/6482 Petri-Dish: Graham Bloice <graham.bloice@trihedral.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Graham Bloice <graham.bloice@trihedral.com>
42 lines
1.1 KiB
Text
42 lines
1.1 KiB
Text
#include "winver.h"
|
|
|
|
WIRESHARK_ICON ICON "@ICON_PATH@wireshark.ico"
|
|
|
|
VS_VERSION_INFO VERSIONINFO
|
|
FILEVERSION @RC_VERSION@
|
|
PRODUCTVERSION @RC_VERSION@
|
|
FILEFLAGSMASK 0x0L
|
|
#ifdef _DEBUG
|
|
FILEFLAGS VS_FF_DEBUG
|
|
#else
|
|
FILEFLAGS 0x0L
|
|
#endif
|
|
FILEOS VOS_NT_WINDOWS32
|
|
FILETYPE VFT_APP
|
|
FILESUBTYPE 0x0L
|
|
BEGIN
|
|
BLOCK "StringFileInfo"
|
|
BEGIN
|
|
BLOCK "040904b0"
|
|
BEGIN
|
|
VALUE "CompanyName", "The Wireshark developer community\0"
|
|
VALUE "FileDescription", "Rawshark\0"
|
|
VALUE "FileVersion", "@VERSION@\0"
|
|
VALUE "InternalName", "Rawshark @VERSION@\0"
|
|
VALUE "LegalCopyright", "Copyright © 2000 Gerald Combs <gerald@wireshark.org>, Gilbert Ramirez <gram@alumni.rice.edu> and others\0"
|
|
VALUE "OriginalFilename", "Rawshark.exe\0"
|
|
VALUE "ProductName", "Rawshark\0"
|
|
VALUE "ProductVersion", "@VERSION@\0"
|
|
END
|
|
END
|
|
BLOCK "VarFileInfo"
|
|
BEGIN
|
|
VALUE "Translation", 0x409, 1200
|
|
END
|
|
END
|
|
|
|
#define MANIFEST_RESOURCE_ID 1
|
|
#define RT_MANIFEST 24
|
|
|
|
MANIFEST_RESOURCE_ID RT_MANIFEST "wireshark.exe.manifest"
|