Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

cmake integration #261

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

cmake integration #261

wants to merge 6 commits into from

Conversation

wllm-rbnt
Copy link

@wllm-rbnt wllm-rbnt commented Aug 25, 2023

This PR replaces make by cmake as a build system for the mksquashfs and unsquashfs tools.
User defined variables & options are available in the top section of the CMakeLists.txt file.
LZMA1 support is not implemented.

It works with ninja:

$ sudo apt install ninja-build
$ cd squashfs-tools/squashfs-tools
$ cmake -B build -G Ninja
$ ninja -C build
$ ninja -C build install

or make:

$ cd squashfs-tools/squashfs-tools
$ mkdir build
$ cd build
$ cmake ..
$ make
$ make install

This PR should fix #256

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use CMake build system
2 participants