-
Notifications
You must be signed in to change notification settings - Fork 198
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
Use CMake build system #256
Comments
I gave it a shot on my fork. To test it, first clone my branch and enter the repo:
Then, edit user defined variables & options in CMakeLists.txt (top section). Then you can test it using Ninja:
or make
DATE, VERSION and YEAR have to be edited manually. William |
Is there some specific reason why you think CMake would be a better fit for this project than say Meson other than personally being used to CMake? Both have similar deptrees in majority of distributions and Meson is quite trivial to use. That said, the Makefile is not that bad. My main itch with it is that it uses various variables in not-very-standard way (eg not using DESTDIR as installation directory such that content is installed to $DESTDIR/$PREFIX and not using the common PREFIX but instead having INSTALL_PREFIX, INSTALL_DIR and INSTALL_MANPAGES_DIR) so doesn't work with typical common Makefile abstractions but every integrator has to figure out how the variables work together. |
No specific reason on my side. It was just a request I could fulfill, and I had time to work on it. |
The current
Makefile
does not check any dependencies and is overall a bit limited. How about setting up a modern build system like CMake?The text was updated successfully, but these errors were encountered: