Skip to content

Add CMake option LZ4_BUILD_CLI#919

Merged
Cyan4973 merged 1 commit intolz4:devfrom
attilaolah:cli
Sep 23, 2020
Merged

Add CMake option LZ4_BUILD_CLI#919
Cyan4973 merged 1 commit intolz4:devfrom
attilaolah:cli

Conversation

@attilaolah
Copy link
Copy Markdown

Defaults to ON so nothing changes, but it can be set to OFF so that the CLI is not built at all, only the library, i.e. like so:

$ cmake -DLZ4_BUILD_CLI:BOOL=OFF

This is useful in combination with -DLZ4_BUILD_LEGACY_LZ4C:BOOL=OFF for builds where only the library is needed.

Defaults to ON so nothing changes, but it can be set to OFF so that the
CLI is not built at all, only the library.
attilaolah pushed a commit to attilaolah/wasm that referenced this pull request Sep 23, 2020
Add an option to avoid building binaries. This works around the failure
of incorrectly trying to symlink `lz4cat` and `unlz4` when the binary
suffix is specified (e.g. `.js` when building with Emscripten.)

Import backported modified patch from
lz4/lz4#919.
@Cyan4973
Copy link
Copy Markdown
Member

Looks good !

@Cyan4973 Cyan4973 merged commit 20856da into lz4:dev Sep 23, 2020
@attilaolah attilaolah deleted the cli branch September 24, 2020 14:40
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