-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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 the buildsystem #715
Comments
To explain a bit better: I'd expect to have a configure, that launched ad ./configure --help prints all support I can enable, so, then I can do:
and not dig into the makefile and analyze dozens of targets |
That's a good point @asarubbo . |
I agree that we need a |
@asarubbo Now we have meson build which support configure. Follow instructions in |
Hey @asarubbo @Cyan4973 . And I noticed that the build/cmake/CMakeLists.txt already has cmake option for multi thread and something else, and build/cmake/programs/CMakeLists.txt has cmake options for zlib and lzma: But it seems that the cmake scripts lack some options: |
Do you want to update the |
Yes. And I want to improve the README.md in build/cmake to give some guides for users not familiar with cmake. Is it OK? |
Sure ! |
@terrelln , is that still an opened direction ? |
At this point, we have multiple choice to what we want to install through zstd, for example:
thread support, lz4 support, xz support, gzip support, pzstd support and so on.
I guess that the best way to handle those supports is via a build system which provides a script that accepts configure options (autotools-based, cmake, etc).
Yes, I saw there is a cmake support, but it can be improved using a CMakeLists.txt file and have a flag for each thing we want to build or not.
It would also help downstream packagers.
Thanks.
The text was updated successfully, but these errors were encountered: