Add automatic build of libcapnp if it's not detected

This commit is contained in:
Jason Paryani
2014-12-11 22:04:34 -08:00
parent 02c572fe1e
commit 4c0d4ec290
11 changed files with 818 additions and 1 deletions

9
buildutils/vers.cpp Normal file
View File

@@ -0,0 +1,9 @@
// check libcapnp version
#include <stdio.h>
#include "capnp/common.h"
int main(int argc, char **argv){
fprintf(stdout, "vers: %d.%d.%d\n", CAPNP_VERSION_MAJOR, CAPNP_VERSION_MINOR, CAPNP_VERSION_MICRO);
return 0;
}