Skip to content
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

improve suffixes + fix .rc compilation with MinGW #1

Closed
wants to merge 5 commits into from

Conversation

vszakats
Copy link

@vszakats vszakats commented Dec 2, 2024

  • Honor CMake's CMAKE_DEBUG_POSTFIX when forming
    output filenames. Can be customized freely.

  • detect when static lib and implib would clash (= MSVC) and apply
    a default "s" suffix to the static lib in that case.

  • allow to override the static lib suffix via ZLIB_STATIC_LIB_SUFFIX.
    This also overrides the "s" above.

  • -DGCC_WINDRES is required for windres. Make sure to pass it
    when detected. (FWIW this PP macro/logic seems unnecessary/obsolete,
    but that's not a CMake issue.)

  • build zlib1.dll right away on Windows.
    Instead of renaming to that on install.
    Derive 1 from the zlib version.

@vszakats vszakats changed the title fix suffixes + fix .rc compilation with MinGW improve suffixes + fix .rc compilation with MinGW Dec 2, 2024
@vszakats vszakats deleted the win-suffixes branch December 2, 2024 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants