-
Notifications
You must be signed in to change notification settings - Fork 159
Solved issue #118 "Missing VERSION_INFO when compiling as Windows DLL" #120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
0ric1
wants to merge
11
commits into
JuliaStrings:master
Choose a base branch
from
0ric1:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 8 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
4ba3c61
Change: CMake, allow the developer to select if Dynamic or Static lib…
ffbccf4
Revert: Change: CMake, allow the developer to select if Dynamic or St…
f6c58b9
This solves JuliaLang/utf8proc issue #118 "Missing VERSION_INFO when …
80238e4
Revert f6c58b9fa98d3f6d6223cb4180d315f876a591e1 and solve it without …
1ba901c
Merge branch 'master' of https://github.com/JuliaStrings/utf8proc
bffaa51
CMake Error at CMakeLists.txt:37 (target_compile_definitions): Cannot…
cce27e2
Merge branch 'master' of https://github.com/JuliaStrings/utf8proc
a25b5ba
Update .gitignore
88b6a3d
Merge branch 'master' of https://github.com/JuliaStrings/utf8proc
blonder 8e3b625
Refactoring missing VERSION_INFO when compiling as Windows DLL
blonder 8f161ef
Reanme UTF8PROC_VERSION used in win32 .rc to UTF8PROC_VERSION_NUMBER.
blonder File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,3 +28,4 @@ test/iterate | |
test/case | ||
test/custom | ||
/tmp/ | ||
/build |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
#include <winver.h> | ||
#include "../utf8proc.h" | ||
|
||
#ifdef GCC_WINDRES | ||
VS_VERSION_INFO VERSIONINFO | ||
#else | ||
VS_VERSION_INFO VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE | ||
#endif | ||
FILEVERSION UTF8PROC_VERSION_MAJOR,UTF8PROC_VERSION_MINOR,UTF8PROC_VERSION_PATCH,0 | ||
PRODUCTVERSION UTF8PROC_VERSION_MAJOR,UTF8PROC_VERSION_MINOR,UTF8PROC_VERSION_PATCH,0 | ||
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK | ||
#ifdef _DEBUG | ||
FILEFLAGS 1 | ||
#else | ||
FILEFLAGS 0 | ||
#endif | ||
FILEOS VOS__WINDOWS32 | ||
FILETYPE VFT_DLL | ||
FILESUBTYPE 0 // not used | ||
BEGIN | ||
BLOCK "StringFileInfo" | ||
BEGIN | ||
BLOCK "040904E4" | ||
//language ID = U.S. English, char set = Windows, Multilingual | ||
BEGIN | ||
VALUE "FileDescription", "utf8proc library\0" | ||
VALUE "FileVersion", UTF8PROC_VERSION "\0" | ||
VALUE "InternalName", "utf8proc.dll\0" | ||
VALUE "LegalCopyright", "(C) Jan Behrens and the rest of the Public Software Group\0" | ||
VALUE "OriginalFilename", "utf8proc.dll\0" | ||
VALUE "ProductName", "utf8proc\0" | ||
VALUE "ProductVersion", UTF8PROC_VERSION "\0" | ||
VALUE "Comments", "For more information visit https://github.com/JuliaStrings/utf8proc/\0" | ||
END | ||
END | ||
BLOCK "VarFileInfo" | ||
BEGIN | ||
VALUE "Translation", 0x0409, 1252 | ||
END | ||
END |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As the comment in the Makefile says, these numbers indicate ABI compatibility and don't follow the API version number exactly. From 2.3 to 2.4 there was no change in ABI which is why the minor version stayed 3.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Though it's probably easier for us to just match the API number in the future so that we don't have this discussion repeatedly.
In any case, please don't update these now.