The gflags package is a C++ library used for implementing command-line processing of flags. It has built-in support for standard types such as strings and the ability to define flags in the source file used. The library has online documentation which is available at Various versions of this library have been released, each with improvements and fixes. For instance, version 2.2.2 fixed a number of static code analyzer, and compiler warnings, while version 2.2.1 fixed build issues on Windows and false alarms reported by static code analyzers. The library is now being used not only in projects using CMake but also Bazel or pkg-config. Memory leaks reported by valgrind should be resolved by the latest release. The project has moved from Google Code to GitHub, and email addresses of original issue reporters got lost in the process. Users are encouraged to report any issues using the GitHub issue tracker.

don't have tea/gui yet? download here

Copy the tea one-liner above into your terminal to install tea will interpret the documentation and take care of any dependencies.