2019-08-02
This commit is contained in:
parent
905a55b651
commit
74a74ece8f
|
@ -68,7 +68,7 @@ $(function() {
|
|||
<div class="contents">
|
||||
<div class="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>
|
||||
<h2>Usage</h2>
|
||||
<p><code>xdgcfg.hpp</code> has explanatory comments in it and there is an <a href="src/example.cpp">example</a>. The reference is also available at <a href="https://doc.schlomp.space/xdgcfg/classxdgcfg.html">doc.schlomp.space/xdgcfg/</a>.</p>
|
||||
<p><code>xdgcfg.hpp</code> has explanatory comments in it and there is an <a href="examples/example.cpp">example</a>. The reference is also available at <a href="https://doc.schlomp.space/xdgcfg/classxdgcfg.html">doc.schlomp.space/xdgcfg/</a>.</p>
|
||||
<p>Use it in your CMake project like this:</p>
|
||||
<div class="fragment"><div class="line">find_package(xdgcfg CONFIG REQUIRED)</div><div class="line">target_link_libraries(MyProject xdgcfg::xdgcfg)</div></div><!-- fragment --><p>If you don't use CMake, you can get the compile-flags with pkg-config:</p>
|
||||
<div class="fragment"><div class="line">pkg-config --libs --cflags xdgcfg</div></div><!-- fragment --><h2>Install</h2>
|
||||
|
|
Reference in New Issue
Block a user