Skip to content

cmake integration#261

Open
wllm-rbnt wants to merge 6 commits into
plougher:masterfrom
wllm-rbnt:cmake
Open

cmake integration#261
wllm-rbnt wants to merge 6 commits into
plougher:masterfrom
wllm-rbnt:cmake

Conversation

@wllm-rbnt
Copy link
Copy Markdown

@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

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.

Use CMake build system

2 participants