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 d3d4786e21
the build was successful Details
Added drone file
2018-08-11 08:37:21 +02:00
src Changed get_filepath() from string to filesystem::path 2018-08-11 07:10:53 +02:00
.drone.yml Added drone file 2018-08-11 08:37:21 +02:00
.gitignore Added documentation generation 2018-08-10 02:55:09 +02:00
CMakeLists.txt Changed get_filepath() from string to filesystem::path 2018-08-11 07:10:53 +02: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/.