mirror of
https://github.com/silverqx/TinyORM.git
synced 2026-01-06 10:59:31 -06:00
Use utf8 on MinGW and ANSI with msvc. The core of the problem is in the $$cat() and write_file() qmake functions they don't know process UTF-8 encoded files, they use the ANSI encoding.
56 lines
1.9 KiB
Plaintext
56 lines
1.9 KiB
Plaintext
#pragma code_page(@pragma_codepage@) // DEFAULT on Windows and UTF-8 with msvc
|
|
|
|
IDI_ICON1 ICON "icons/@TinyOrm_target@.ico"
|
|
|
|
#include <windows.h>
|
|
#include "orm/version.hpp"
|
|
|
|
#define VER_FILEVERSION TINYORM_VERSION_MAJOR,TINYORM_VERSION_MINOR,TINYORM_VERSION_BUGFIX,TINYORM_VERSION_BUILD
|
|
#define VER_FILEVERSION_STR TINYORM_FILEVERSION_STR "\0"
|
|
|
|
#define VER_PRODUCTVERSION TINYORM_VERSION_MAJOR,TINYORM_VERSION_MINOR,TINYORM_VERSION_BUGFIX,TINYORM_VERSION_BUILD
|
|
#define VER_PRODUCTVERSION_STR TINYORM_VERSION_STR "\0"
|
|
|
|
#define VER_ORIGINALFILENAME_STR "$<TARGET_FILE_NAME:@TinyOrm_target@>\0"
|
|
|
|
#ifdef TINYORM_NO_DEBUG
|
|
# define VER_DEBUG 0
|
|
#else
|
|
# define VER_DEBUG VS_FF_DEBUG
|
|
#endif
|
|
|
|
VS_VERSION_INFO VERSIONINFO
|
|
FILEVERSION VER_FILEVERSION
|
|
PRODUCTVERSION VER_PRODUCTVERSION
|
|
FILEFLAGSMASK VER_DEBUG
|
|
FILEFLAGS VER_DEBUG
|
|
FILEOS VOS__WINDOWS32
|
|
FILETYPE VFT_DLL
|
|
FILESUBTYPE VFT2_UNKNOWN
|
|
BEGIN
|
|
BLOCK "StringFileInfo"
|
|
BEGIN
|
|
BLOCK "040904B0"
|
|
BEGIN
|
|
VALUE "CompanyName", "Crystal Studio\0"
|
|
VALUE "FileDescription", "TinyORM user-friendly ORM\0"
|
|
VALUE "FileVersion", VER_FILEVERSION_STR
|
|
VALUE "InternalName", "TinyOrm\0"
|
|
VALUE "LegalCopyright", "Copyright (©) 2022 Crystal Studio\0"
|
|
VALUE "ProductName", "TinyORM\0"
|
|
VALUE "ProductVersion", VER_PRODUCTVERSION_STR
|
|
VALUE "OriginalFilename", VER_ORIGINALFILENAME_STR
|
|
END
|
|
END
|
|
|
|
BLOCK "VarFileInfo"
|
|
BEGIN
|
|
VALUE "Translation", 0x409, 1200
|
|
END
|
|
END
|
|
/* End of Version info */
|
|
|
|
#ifdef __MINGW32__
|
|
ISOLATIONAWARE_MANIFEST_RESOURCE_ID RT_MANIFEST "@TinyOrm_target@$<TARGET_FILE_SUFFIX:@TinyOrm_target@>.manifest"
|
|
#endif
|