-
Notifications
You must be signed in to change notification settings - Fork 3.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
Will you consider remove Makefile in repo. #195
Comments
CMake is the preferred build system at this moment (maybe there will be Meson in the future). The Makefile is just there for compatibility reasons, for people that don't have CMake. It will probably removed in the future (version 2.0, if it ever happens ...) Yes, the problem is that it tries to call an executable, that doesn't exist, because I completely moved its content into the automated testsuite. That is a bug, and I will fix it! Note that |
Fixed in 1.5.8 |
I see
Great! |
The tests that are run with CMake are proper tests though and return nonzero if they fail! Just not the Makefile. |
Sorry to pollute this a litte bit... @Yanhao wrote:
Just checked: there are multiple cJSON packages on debian, but no "plain C" - or did I miss it? The missing package is the reason that I need to build it on my Android low-end phone by hand, which is a very good reason for me that the Makefile still exists (in no way I'll put CMake on this "box"). |
Sorry I don't understand what do you mean about "Plain C", could you be more specific?
and the later has these:
That's all. and by the way, since libcjson-dev depends libcjson1, so all you need to use cjson in debian is install libcjson-dev, libcjson1 will be installed automatically then. |
Hi, I am packaging this library for debian. I got an error while execute tests using make. But when I build and test using cmake, everything is perfect. So I wonder if you could consider remove the Makefile in repo because it's reduplicate with CMakeLists.txt and the error I've got using make.
Here is the error output:
I believe the reason of the error is that there is no UTILS_TEST definition within Makefile.
The text was updated successfully, but these errors were encountered: