Super simple-to-use lib for reading varius config files that are based on key-value pairs.
I currently plan to sport the following config file types:
- YAMAL
- TOML
- INI
- JSON maybe
From root directory cd into the build directory and run:
cmake ..make .
Then we can use the generated executable in build/catch_tests/catch_tests_run to run the tests
or link the build/src/libscfrw.a file in your project to use the lib.
#include "scfrw.h"
int main() {
std::string value = scfrw_read("path/to/your/file.ini", "keyToReturn");
// do something with value
return 0;
}