A small RDF library with minimal dependencies for embedded devices. It works in memory and requires only memory copy and compare functions. The library was developed for the Arduino platform, but should work also on other platforms.
Tests rely on google test library:
& sudo apt-get install libgtest-dev
$ make [<target>]
The resulting binaries are generated in ./bin
.
Makefile
contains the following targets:
all
- build all targetstest_debug
- test application under the debug modedebug
- library (bothC
abdC++
interfaces) under the debug moderelease
- library under the portable release mode (without device-specific optimization)release_native
- library, optimized for the device where the build is performed (recommended, but might not be portable)release_native_c
- library withC
only interface, optimized for the device (recommended for IoT devices, whereC++
interface is not required)
The SmallHydra library contains an example that show how to use SmallRDF.