The gflags package contains a C++ library that implements commandline flags processing. It includes built-in support for standard types such as string and the ability to define flags in the source file in which they are used. Online documentation available at:
Find a file
shawke cac974eb07 Fix compatibility with older versions of CMake
The "SONAME_FLAG" was introduced in CMake 2.8.9, while the current CMake scripts require 2.8.4 (first line of CMakeLists.txt). Increasing the required CMake version will block building in less recent OSes (e.g., for Ubuntu 12.04 LTS, the latest version from the official repositories is currently 2.8.7). The more compatible solution will be to use the old variable name, i.e. the one which was used before CMake was patched.

NB: this issue is triggered upon specifying -DBUILD_SHARED_LIBS=ON.

Related bug report: http://public.kitware.com/Bug/view.php?id=13884 
Commit which implemented this new variable: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e1409ac5
2014-04-07 18:03:26 +02:00
cmake Fix compatibility with older versions of CMake 2014-04-07 18:03:26 +02:00
doc Document finding and linking to gflags using CMake. 2013-08-01 03:46:29 +01:00
src Replace GFLAGS_NAMESPACE by @GFLAGS_NAMESPACE@ in gflags_declare.h (Fixes issue #79). 2014-03-26 19:37:01 +00:00
test Add test which uses gflags_declare.h. 2014-03-30 15:16:00 +01:00
.gitattributes Add .gitattributes file to normalize all files to LF. 2014-03-19 14:48:03 +00:00
.gitignore Ignore packages subdirectory (if it exists). 2014-03-20 04:43:01 +00:00
AUTHORS.txt Enable packaging of library using CPack. 2014-03-20 02:11:44 +00:00
ChangeLog.txt Add ChangeLog entries for release 2.1.1. 2014-03-30 15:41:02 +01:00
CMakeLists.txt Set CPACK_PACKAGE_ARCHITECTURE to darwin on Mac OS. 2014-03-30 15:34:13 +01:00
COPYING.txt Enable packaging of library using CPack. 2014-03-20 02:11:44 +00:00
INSTALL.txt Enable packaging of library using CPack. 2014-03-20 02:11:44 +00:00
NEWS.txt Add NEWS of release version 2.1.1. 2014-03-30 15:18:26 +01:00
README.txt Remove devel package content summary from README 2014-03-27 01:11:30 +00:00

This package contains a library that implements commandline flags
processing.  As such it's a replacement for getopt().  It has increased
flexibility, including built-in support for C++ types like string, and
the ability to define flags in the source file in which they're used.