[0: About]

This library implements a very basic configuration file management.
It is lightweight and comes without any complex dependencies.
Right now it requires opencv due to the hard-coded Datastructure support.
This will be removed in future releases.

[1: Changelog]

2013-04-23: libtinyconfig goes opensource

[2: Usage]

For a short demonstration how to use the library see the test.cpp file.

In order to use libtinyconfig in your own (CMake) projects the following code snippets might help you.
Add the following code to your CMakeLists File:

#libtinyconfig
PKG_CHECK_MODULES(TINYCONFIG REQUIRED libtinyconfig>=0.1)
IF (TINYCONFIG_FOUND)
  MESSAGE("-- using libtinyconfig version ${TINYCONFIG_VERSION} from ${TINYCONFIG_PREFIX}")
ELSE (TINYCONFIG_FOUND)
  message(FATAL_ERROR "ERROR: Cannot find libtinyconfig")
ENDIF (TINYCONFIG_FOUND)

...

LINK_DIRECTORIES(... ${TINYCONFIG_LIBRARY_DIRS} ...)
INCLUDE_DIRECTORIES( ... ${TINYCONFIG_INCLUDE_DIRS} ...)

...

ADD_EXECUTABLE( xyz main.cpp )
TARGET_LINK_LIBRARIES(  xyz ... ${TINYCONFIG_LIBRARIES})

[3: Download / SVN checkout]

In order to check out & build the latest version simply check it out using svn:

svn co https://opensource.cit-ec.de/svn/libtinyconfig/trunk/ libtinyconfig

[4: Compiling]

Aftre checking out the source code (see above) you can compile the library:
This library uses a standard CMake file. So the installation procedure is:

.../libtinyconfig> mkdir build
.../libtinyconfig> cd build
.../libtinyconfig> cmake .. 
             (you might want to set -DCMAKE_INSTALL_PREFIX=/my/prefix)
.../libtinyconfig> make
.../libtinyconfig> make install