mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-11-21 09:57:30 +01:00
Add template rc for libraries
This commit is contained in:
35
build-aux/win32/lib.rc.in
Normal file
35
build-aux/win32/lib.rc.in
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
#pragma code_page(65001)
|
||||||
|
|
||||||
|
#define WIN32_LEAN_AND_MEAN
|
||||||
|
#include <windows.h>
|
||||||
|
|
||||||
|
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
||||||
|
|
||||||
|
VS_VERSION_INFO VERSIONINFO
|
||||||
|
FILEVERSION @MAJOR@,@MINOR@,@MICRO@,0
|
||||||
|
PRODUCTVERSION @MAJOR@,@MINOR@,@MICRO@,0
|
||||||
|
FILEFLAGSMASK 0
|
||||||
|
FILEFLAGS 0
|
||||||
|
FILEOS VOS_NT_WINDOWS32
|
||||||
|
FILETYPE VFT_DLL
|
||||||
|
FILESUBTYPE VFT2_UNKNOWN
|
||||||
|
BEGIN
|
||||||
|
BLOCK "StringFileInfo"
|
||||||
|
BEGIN
|
||||||
|
BLOCK "040904B0"
|
||||||
|
BEGIN
|
||||||
|
VALUE "CompanyName", "The GLib developer community"
|
||||||
|
VALUE "FileDescription", "@DESCRIPTION@"
|
||||||
|
VALUE "FileVersion", "@MAJOR@.@MINOR@.@MICRO@"
|
||||||
|
VALUE "InternalName", "@NAME@"
|
||||||
|
VALUE "LegalCopyright", "© @COPYRIGHTYEAR@ the GLib developer community. © 1995-2011 Peter Mattis, Spencer Kimball, Josh MacDonald and others."
|
||||||
|
VALUE "OriginalFilename", "@FILENAME@"
|
||||||
|
VALUE "ProductName", "GLib"
|
||||||
|
VALUE "ProductVersion", "@MAJOR@.@MINOR@.@MICRO@"
|
||||||
|
END
|
||||||
|
END
|
||||||
|
BLOCK "VarFileInfo"
|
||||||
|
BEGIN
|
||||||
|
VALUE "Translation", 0x409, 1200
|
||||||
|
END
|
||||||
|
END
|
||||||
@@ -12,3 +12,12 @@ if host_system == 'windows'
|
|||||||
else
|
else
|
||||||
app_profile_dep = declare_dependency()
|
app_profile_dep = declare_dependency()
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
rc_conf_base = configuration_data({
|
||||||
|
'MAJOR': major_version,
|
||||||
|
'MINOR': minor_version,
|
||||||
|
'MICRO': micro_version,
|
||||||
|
'COPYRIGHTYEAR': '2025',
|
||||||
|
})
|
||||||
|
|
||||||
|
lib_rc_in = files('lib.rc.in')
|
||||||
|
|||||||
Reference in New Issue
Block a user