README.md: add CMake build instruction
authorManuel Bachmann <manuel.bachmann@iot.bzh>
Thu, 10 Dec 2015 09:13:07 +0000 (10:13 +0100)
committerManuel Bachmann <manuel.bachmann@iot.bzh>
Thu, 10 Dec 2015 09:13:07 +0000 (10:13 +0100)
List requirements, give build commands workflow.

Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
README.md

index 7eb5434..d252ec3 100644 (file)
--- a/README.md
+++ b/README.md
@@ -8,6 +8,20 @@ Final goal is keep the engine public while allowing people to load non open-sour
 libraries especially libmicrohttpd & libjson. Finally what ever Licence is chosen it should be compatible with dependencies and automotive
 industry requirementsas the primary target for this code is AGL. 
 
+### Building
+ Building Application Framework Binder requires the following libraries:
+- libmagic ("libmagic-dev" under Debian/Ubuntu, "file-devel" under OpenSUSE);
+- libmicrohttpd ("libmicrohttpd-dev/devel");
+- json-c ("libjson-c-dev/devel");
+ and the following tools:
+- pkg-config;
+- CMake >= 2.8.
+
+ To build from the root directory, please type:
+$ mkdir build; cd build
+& cmake ..
+& make; make install
+
 ### Start
 afb-daemon --help