|
|
il y a 1 an | |
|---|---|---|
| .. | ||
| cmake | il y a 1 an | |
| doc | il y a 1 an | |
| example | il y a 1 an | |
| src | il y a 1 an | |
| test | il y a 1 an | |
| .cmake-format.py | il y a 1 an | |
| .gitignore | il y a 1 an | |
| .gitlab-ci.yml | il y a 1 an | |
| .travis.yml | il y a 1 an | |
| AUTHORS | il y a 1 an | |
| CMakeLists.txt | il y a 1 an | |
| FAQ-en.md | il y a 1 an | |
| FAQ-zhcn.md | il y a 1 an | |
| INSTALL | il y a 1 an | |
| LICENSE | il y a 1 an | |
| README.md | il y a 1 an | |
Changes in May 2024: We moved to iniparser/iniparser! Go there for:
Changes in March 2024: @lmoellendorf took over maintenance for this project.
Thanks a million times to Lars for his tremendous work and help in keeping this library alive!
Many thanks to @touilleman for his exceptional contributions and efforts for maintaining this project for a decade. Manu, you rock!
This modules offers parsing of ini files from C.
Key features:
-pedantic CThis project uses CMake as build system. Use these command at the root or the
project to get the static (i.e. libiniparser.a) and shared (i.e.
libiniparser.so) libraries compiled:
mkdir build
cd build
cmake ..
make all
There are some CMake option which are OFF by default:
BUILD_TESTSBUILD_EXAMPLESFrom within build directory execute ccmake .. to see all.
mkdir build
cd build
cmake -DBUILD_TESTS ..
make all
While still in the build project you can run the tests by calling ctest.
Test output can be found in build directory under
Testing/Temporary/LastTest.log.
To build the examples:
mkdir build
cd build
cmake -DBUILD_EXAMPLES ..
make all
From the build directory run the examples with:
./iniexample./iniwrite./parse ../example/twisted.iniDocumentation is build by default and can be found in build directory under
html.
Open the file html/index.html with any HTML-capable browser.
Or see the complete documentation in online.
This software is released under MIT License. See LICENSE for more details
See FAQ-en.md in this directory for answers to Frequently Asked Questions.
还有简化中国翻译在FAQ-zhcn.md.