mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-28 23:28:49 -05:00
5f2ba00bb8
Version information and more in the Windows resources for main applications, installer and un-installer. Update CMake policies for new project() command, and DEB dependency changes Support older libgfortran packages, and other Linux package dependencies. Use new project description file in Debian packaging. Linux packaging dependency adjustments for Debian style packages, including a machine readable Debian copyright format, project description in separate file for CPack compatibility, and use for DEB packaging. Configure check for need to link libm Standard C Math Library. CMake compatibility for <3.17.
74 lines
1.8 KiB
Plaintext
74 lines
1.8 KiB
Plaintext
#include "VersionInfo_@PRODUCT_NAME@.h"
|
|
|
|
#ifdef RC_INVOKED
|
|
|
|
#if defined (__MINGW64__) || defined (__MINGW32__)
|
|
/* MinGW-w64 or MinGW */
|
|
#if defined (__has_include) && __has_include (<windres.h>)
|
|
#include <windres.h>
|
|
#else
|
|
#include <afxres.h>
|
|
#include <winresrc.h>
|
|
#endif
|
|
#else
|
|
/* MSVC, Windows SDK */
|
|
#include <winres.h>
|
|
#endif
|
|
|
|
#ifndef _NDEBUG
|
|
#define PRODUCT_DEBUGFLAG 0x0L
|
|
#else
|
|
#define PRODUCT_DEBUGFLAG VS_FF_DEBUG
|
|
#endif
|
|
|
|
#ifdef SCS_VERSION_IS_DIRTY
|
|
#define PRODUCT_SPECIALFLAG VS_FF_SPECIALBUILD
|
|
#else
|
|
#define PRODUCT_SPECIALFLAG 0x0L
|
|
#endif
|
|
|
|
#if PRODUCT_PRERELEASE
|
|
#define PRODUCT_PRERELEASEFLAG VS_FF_PRERELEASE
|
|
#else
|
|
#define PRODUCT_PRERELEASEFLAG 0x0L
|
|
#endif
|
|
|
|
IDI_ICON1 ICON DISCARDABLE PRODUCT_ICON
|
|
|
|
LANGUAGE LANG_ENGLISH, SUBLANG_NEUTRAL
|
|
|
|
VS_VERSION_INFO VERSIONINFO
|
|
FILEVERSION FILE_VERSION_RESOURCE
|
|
PRODUCTVERSION PRODUCT_VERSION_RESOURCE
|
|
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
|
|
FILEFLAGS (PRODUCT_DEBUGFLAG | PRODUCT_SPECIALFLAG | PRODUCT_PRERELEASEFLAG)
|
|
FILEOS VOS_NT_WINDOWS32
|
|
FILETYPE VFT_APP
|
|
FILESUBTYPE 0x0L
|
|
BEGIN
|
|
BLOCK "StringFileInfo"
|
|
BEGIN
|
|
BLOCK "040904b0"
|
|
BEGIN
|
|
VALUE "Comments", PRODUCT_COMMENTS
|
|
VALUE "CompanyName", PRODUCT_VENDOR_NAME
|
|
VALUE "FileDescription", PRODUCT_FILE_DESCRIPTION
|
|
VALUE "FileVersion", FILE_VERSION_RESOURCE_STR
|
|
VALUE "LegalCopyright", PRODUCT_LEGAL_COPYRIGHT
|
|
VALUE "ProductName", PRODUCT_BUNDLE
|
|
VALUE "ProductVersion", PRODUCT_VERSION_RESOURCE_STR
|
|
VALUE "InternalName", PRODUCT_INTERNAL_NAME
|
|
VALUE "OriginalFileName", PRODUCT_ORIGINAL_FILENAME
|
|
#if SCS_VERSION_IS_DIRTY
|
|
VALUE "SpecialBuild", SCS_VERSION_STR "\0"
|
|
#endif
|
|
END
|
|
END
|
|
BLOCK "VarFileInfo"
|
|
BEGIN
|
|
VALUE "Translation", 0x0409, 0x04b /* en-US Unicode */
|
|
END
|
|
END
|
|
|
|
#endif
|