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 6c0976baa7
the build was successful Details
Updated drone recipe
2018-11-02 23:45:14 +01:00
src Fixed bug: Parent directories were only created if subdir was non-empty 2018-11-02 23:01:11 +01:00
.drone.yml Updated drone recipe 2018-11-02 23:45:14 +01:00
.gitignore Added documentation generation 2018-08-10 02:55:09 +02:00
CMakeLists.txt Updated drone recipe 2018-11-02 23:45:14 +01:00
Doxyfile Added documentation generation 2018-08-10 02:55:09 +02:00
README.md Added drone file 2018-08-11 08:37:21 +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

You can create dynamic and static libraries:

mkdir build
cd build
cmake ..
make
make install

Or just copy xdgcfg.hpp and xdgcfg.cpp into your project folder.

Documentation

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