See cmims/src/mims_unit.h for function API, and cmims/tst/demo.c for usage examples.
mkdir data && cd dataDownload mims_unit.zip (ask Aryton) and unzip in cmims/data
cd cmims/tst && make clean
./demoRun from the root directory, the build system will be in build folder.
# Generate the build system
cmake --no-warn-unused-cli -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -DCMAKE_BUILD_TYPE:STRING=Debug -S . -B ./build -T host=x64 -A x64Then compile using the build system, the compiled binary will be in build/Debug folder.
cmake --build ./build --config Debug --target ALL_BUILD -j 14 --To compile for release, replace the Debug word in the above two commands with Release, the compiled binary will be in build/Release folder.
Modify main() in tst/demo.c