Skip to content

[mini_zip][build] Add minizip build target#835

Closed
Adenilson wants to merge 2 commits intomadler:developfrom
Adenilson:develop
Closed

[mini_zip][build] Add minizip build target#835
Adenilson wants to merge 2 commits intomadler:developfrom
Adenilson:develop

Conversation

@Adenilson
Copy link
Copy Markdown

This change adds a build target for minizip_bin in the CMake build system.

This change adds a build target for minizip_bin in the CMake
build system.
@Adenilson
Copy link
Copy Markdown
Author

@madler when you got some spare time, would you mind to check this one?

@Adenilson
Copy link
Copy Markdown
Author

Since I noticed that minizip was added to the prime Makefile (2bcc748).

CMakeLists.txt Outdated
endif()

#============================================================================
# Minigzip tool
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo: Minigzip/minizip.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

# Minizip tool
#============================================================================
add_executable(minizip_bin contrib/minizip/minizip.c contrib/minizip/ioapi.c
contrib/minizip/ioapi.h contrib/minizip/unzip.c
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing iowin32.[ch] for Windows build

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed, I will setup a Windows box to test.

@Neustradamus
Copy link
Copy Markdown

@gvollant: Can you look?

@Neustradamus
Copy link
Copy Markdown

@madler, @gvollant: Can you look this PR?

@madler
Copy link
Copy Markdown
Owner

madler commented Jan 24, 2024

Thanks, but I don't want to add a minizip build to the main CMakeLists.txt. The contrib stuff should stay distinct from zlib. If someone wanted to add a CMakeLists.txt to contrib/minizip, that would be fine.

(The minizip-test target in the main Makefile is just there for my use for testing purposes. Not to provide a build of minizip. That's what the Makefile in contrib/minizip is for.)

@madler madler closed this Jan 24, 2024
@Neustradamus Neustradamus mentioned this pull request Dec 8, 2024
@Neustradamus
Copy link
Copy Markdown

Neustradamus commented Dec 8, 2024

@madler
Copy link
Copy Markdown
Owner

madler commented Feb 2, 2025

See #1027 .

@madler madler reopened this Feb 2, 2025
@madler madler closed this Feb 2, 2025
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.

4 participants