Skip to content

p-groarke/fea_getopt

Repository files navigation


This repository is inactive and kept for posterity's sake.

Any further development will happen in fea_libs. Cheers.



fea_getopt

Build status Build Status

Header only c++17 argument parsing.

Examples

Build

fea_getopt is a header only library with dependencies to the stl and another header only libraries; fea_utils and fea_state_machines.

The unit tests depend on gtest. They are not built by default. Use conan to install the dependencies when running the test suite.

Windows

mkdir build && cd build
..\conan.bat
cmake .. -DBUILD_TESTING=On && cmake --build . --config debug
bin\fea_getopt_tests.exe

// Optionally
cmake --build . --target install

Unixes

mkdir build && cd build
..\conan.sh
cmake .. -DBUILD_TESTING=On && cmake --build . --config debug
bin\fea_getopt_tests.exe

// Optionally
cmake --build . --target install