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.
tastytea 1cca2b7406
All checks were successful
continuous-integration/drone/push Build is passing
CI: Added tests and examples, fixed omission.
2019-07-22 02:50:59 +02:00
2019-07-21 22:48:15 +02:00
2018-08-10 02:55:09 +02:00
2018-08-10 02:55:09 +02:00
2018-08-10 02:55:09 +02:00
2019-07-22 02:44:50 +02:00

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

Install

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

mkdir build
cd build
cmake ..
make
make install

CMake options

  • -DWITH_TESTS=YES to compile the tests.
  • -DWITH_EXAMPLES=YES to compile the example.

Documentation

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

Description
Wrapper around libconfig that writes and reads files in XDG_CONFIG_HOME.
Readme 972 KiB
Languages
C++ 92.7%
CMake 3.7%
Shell 3.6%