jq
jq copied to clipboard
Cmake
JQ should have Cmake build option - I did a comparison of Cmake vs Autotools last January
http://github.com/svnpenn/glade/blob/master/build-system.md
I found that Cmake is lighter on dependencies - notably only the Cmake package and assorted libraries are required
whereas Autotools requires non library packages of m4, perl and texinfo
My theory is that autotools should be used to construct platform profiles that consist of a makefile to setup some make vars, and a header file (maybe). Users should pick a profile and build it. No libtool.
Just made a cmake version: https://github.com/district10/jq-cmake Hope this helpful.
This issue has been open for a while now without any follow-up. Does it mean that building jq
with CMake is not a desire of the maintainers?
It would be interesting to be able not only to build it with CMake, but also to be able to use it as a library with CMake's find_package()
mechanism in a client program. This would also open the ability to publish jq
as a library in Microsoft's vcpkg package manager.
This issue has been open for a while now without any follow-up. Does it mean that building
jq
with CMake is not a desire of the maintainers?
It means we had a burst of energy for all the things that were critical and quite a few that weren't, then we made a release. Switching to CMake was not critical. We'll take a look in the coming weeks.
That would be great. I have not done a vcpkg wrapper for anything yet but I am very motivated to do one for jq once there is cmake support for building it as a library.