diff --git a/README b/README index aff27611..a4231e6b 100644 --- a/README +++ b/README @@ -85,6 +85,17 @@ Note: The ".." at the end of the command line tells cmake where to find the main To select some configuration options you can use ccmake or cmake-gui. + +Building the sqlite logging driver +----------------------------------- + +You can use the driver by including the src/logging/drivers/sqlite/log_storage_sqlite.c file into your application build. + +On Ubuntu Linux (and simpilar Linux distributions) it is enough to install the sqlite dev packages from the standard repository. For other OSes (e.g. Windows) and cross-compiling it is recomended to download the amalagation source code (from https://www.sqlite.org/download.html) of sqlite and copy them to the third_party/sqlite folder. + +On windows the cmake skript will detect the sqlite source code and also creates the example project for logging. + + C# client API -------------- diff --git a/third_party/sqlite/README b/third_party/sqlite/README new file mode 100644 index 00000000..2e1781bf --- /dev/null +++ b/third_party/sqlite/README @@ -0,0 +1 @@ +Copy the sqlite amalagamation source code files (sqlite3.c sqlite3ext.h sqlite3.h) in this directory. You can download an archive withan archive with the files here: https://www.sqlite.org/download.html