Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Chris Dew
committed
Feb 17, 2015
1 parent
eec75a0
commit 12ad684
Showing
49 changed files
with
6,001 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<Place your desired license here.> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
SUBDIRS=libprotobuf2jansson include testsuite |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Sample NEWS file for protobuf2jansson project. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
This is a very early version of a library which converts a protobuf serialised | ||
message and a .desc file describing the message format into a Jansson JSON | ||
object, which can be serialised to a string. | ||
|
||
This avoid recompiling a C executable each time you make minor changes to .proto | ||
files (assuming you need to output JSON). | ||
|
||
|
||
Configure with: | ||
|
||
CC=clang ./configure | ||
|
||
unless you have gcc-4.9 or later, until I find some answers to: | ||
|
||
http://stackoverflow.com/questions/28557945/how-to-make-autotools-generated-configure-enforce-availability-of-c11s-gener | ||
http://stackoverflow.com/questions/28558206/make-autotools-add-std-c11-to-cflags |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
dnl Process this file with autoconf to produce a configure script. | ||
|
||
AC_PREREQ(2.59) | ||
AC_INIT(protobuf2jansson, 1.0) | ||
AC_PROG_CC | ||
|
||
PKG_CHECK_MODULES([jansson], [jansson >= 2.7]) | ||
|
||
AC_CANONICAL_SYSTEM | ||
|
||
dnl Initialize automake | ||
AM_INIT_AUTOMAKE | ||
|
||
dnl this allows us specify individual liking flags for each target | ||
AM_PROG_CC_C_O | ||
|
||
dnl Initialize Libtool | ||
LT_INIT | ||
|
||
dnl Check if Libtool is present | ||
dnl Libtool is used for building share libraries | ||
AC_PROG_LIBTOOL | ||
|
||
AC_PROG_CC | ||
CFLAGS+=" -std=c11 -O0 -g" | ||
|
||
AC_CONFIG_FILES(Makefile | ||
testsuite/Makefile | ||
libprotobuf2jansson/Makefile | ||
include/Makefile) | ||
|
||
AC_OUTPUT |
Oops, something went wrong.