diff options
author | Won-Kyu Park <wkpark@gmail.com> | 2023-02-11 14:36:06 +0900 |
---|---|---|
committer | Won-Kyu Park <wkpark@gmail.com> | 2023-02-15 12:17:09 +0900 |
commit | 3cc5d20e4907de66cc38d368da5c91ba7c77329b (patch) | |
tree | 9b70dbc8da4cd8ba4d50c0f7a2fb9ddb332af9f3 | |
parent | bc10ca455bce26fda3e8b6200e5d98d5f28eef3f (diff) | |
download | libhangul-3cc5d20e4907de66cc38d368da5c91ba7c77329b.tar.gz |
win32: support DynamicLibrary
-rw-r--r-- | libhangul.vcxproj | 3 | ||||
-rw-r--r-- | win32/libhangul.rc | 46 |
2 files changed, 49 insertions, 0 deletions
diff --git a/libhangul.vcxproj b/libhangul.vcxproj index edc8751..906a374 100644 --- a/libhangul.vcxproj +++ b/libhangul.vcxproj @@ -139,6 +139,9 @@ <GenerateDebugInformation>true</GenerateDebugInformation> </Link> </ItemDefinitionGroup> + <ItemGroup Condition="'$(ConfigurationType)'=='DynamicLibrary'"> + <ResourceCompile Include="win32\libhangul.rc" /> + </ItemGroup> <ItemGroup> <ClInclude Include="hangul\hangul.h" /> <ClInclude Include="hangul\hangul-gettext.h" /> diff --git a/win32/libhangul.rc b/win32/libhangul.rc new file mode 100644 index 0000000..5116efc --- /dev/null +++ b/win32/libhangul.rc @@ -0,0 +1,46 @@ + +#undef APSTUDIO_READONLY_SYMBOLS +#include <winver.h> +#include "../hangul/hangul.h" +#undef APSTUDIO_READONLY_SYMBOLS + +// English resources +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENG) + +VS_VERSION_INFO VERSIONINFO + FILEVERSION 1,0,0,0 + PRODUCTVERSION 1,0,0,0 + FILEFLAGSMASK 0x3fL +#ifdef _DEBUG + FILEFLAGS 0xbL +#else + FILEFLAGS 0xaL +#endif + FILEOS 0x4L + FILETYPE VFT_DLL + FILESUBTYPE 0xbL +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040904E4" + BEGIN + VALUE "Comments", "libhangul hangul library https://github.com/libhangul/libhangul\0" + VALUE "CompanyName", "libhangul\0" + VALUE "FileDescription", "Libhangul v1.0.0\0" + VALUE "FileVersion", "1.0\0" + VALUE "InternalName", "Libhangul\0" + VALUE "LegalCopyright", "Copyright (C) 2004-2022 Choe Hwanjin\0" + VALUE "LegalTrademarks", "\0" + VALUE "OriginalFilename", "LIBHANGUL.DLL\0" + VALUE "ProductName", "Libhangul\0" + VALUE "ProductVersion", "1.0.0.0\0" + END + END + + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x409, 1252 + END +END + +#endif // English resources |