mirror of
https://github.com/json-c/json-c.git
synced 2026-03-21 05:59:07 +08:00
d1342d6f2d79651026dc3ee4c2da5cc40a50bb5b
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@65 327403b1-1117-474d-bef2-5cb71233fd97
Building on Unix with gcc and autotools
If checking out from SVN (http://svn.metaparadigm.com/svn/json-c/trunk) or Git (https://github.com/jehiah/json-c):
$ sh autogen.sh
Then
$ ./configure
$ make
$ make install
To build and run the test programs run
$ make check
Linking to libjson
If your system has pkgconfig then you can just add this to your makefile
CFLAGS += $(shell pkg-config --cflags json)
LDFLAGS += $(shell pkg-config --libs json)
Description
https://github.com/json-c/json-c is the official code repository for json-c. See the wiki for release tarballs for download. API docs at http://json-c.github.io/json-c/
Readme
5.7 MiB
Languages
C
86.8%
CMake
6.1%
Shell
3.4%
Meson
2.5%
C++
0.9%
Other
0.3%