You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
3 years ago | |
---|---|---|
src | 3 years ago | |
.drone.yml | 4 years ago | |
.gitignore | 4 years ago | |
CMakeLists.txt | 3 years ago | |
Doxyfile | 4 years ago | |
README.md | 4 years ago | |
generate_doc.sh | 4 years ago |
README.md
xdgjson is a very simple wrapper around jsoncpp written in C++. It reads
and writes files in ${XDG_CONFIG_HOME}
. It creates subdirectories if
necessary.
Dependencies
- C++ compiler (Tested: g++ 5/6/7/8)
- cmake
- pkgconfig
- jsoncpp
- libxdg-basedir
Usage
You can create dynamic and static libraries:
mkdir build
cd build
cmake ..
make
make install
Or just copy xdgjson.hpp
and xdgjson.cpp
into your project folder.
Documentation
xdgjson.hpp
has explanatory comments in it and there is an
example. The reference is also available at
doc.schlomp.space/xdgjson/.