<divclass="textblock"><p><b>xdgcfg</b> is a very simple wrapper around libconfig written in C++. It reads and writes files in <code>${XDG_CONFIG_HOME}</code>. It creates subdirectories if necessary.</p>
<p>You can create dynamic and static libraries:</p>
<divclass="fragment"><divclass="line">mkdir build</div><divclass="line">cd build</div><divclass="line">cmake ..</div><divclass="line">make</div><divclass="line">make install</div></div><!-- fragment --><p>Or just copy <code><aclass="el"href="xdgcfg_8hpp_source.html">xdgcfg.hpp</a></code> and <code>xdgcfg.cpp</code> into your project folder.</p>
<p><code><aclass="el"href="xdgcfg_8hpp_source.html">xdgcfg.hpp</a></code> has explanatory comments in it and there is an <ahref="src/example.cpp">example</a>. The reference is also available at <ahref="https://doc.schlomp.space/xdgcfg/classxdgcfg.html">doc.schlomp.space/xdgcfg/</a>. </p>