Wrapper around libconfig that writes and reads files in XDG_CONFIG_HOME.
This repository has been archived on 2020-05-16. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
tastytea e07a6ab6cb
Added tests and made compiling the example optional.
2019-07-22 02:37:03 +02:00
src Put everything in the header. 2019-07-21 22:48:15 +02:00
tests Added tests and made compiling the example optional. 2019-07-22 02:37:03 +02:00
.drone.yml Updated CI recipe. 2019-07-21 22:48:25 +02:00
.gitignore Added documentation generation 2018-08-10 02:55:09 +02:00
CMakeLists.txt Added tests and made compiling the example optional. 2019-07-22 02:37:03 +02:00
Doxyfile Added documentation generation 2018-08-10 02:55:09 +02:00
README.md Put everything in the header. 2019-07-21 22:48:15 +02:00
generate_doc.sh Added documentation generation 2018-08-10 02:55:09 +02:00

README.md

xdgcfg is a very simple wrapper around libconfig written in C++. It reads and writes files in ${XDG_CONFIG_HOME}. It creates subdirectories if necessary.

Dependencies

Usage

Copy xdgcfg.hpp into a folder where your project can find it.

mkdir build
cd build
cmake ..
make
make install

Documentation

xdgcfg.hpp has explanatory comments in it and there is an example. The reference is also available at doc.schlomp.space/xdgcfg/.