Remove build tool related files, operating system packages, and move unit tests to separate subdirectory.
Move public header files to separate subdirectory.
Add CMakeLists.txt and adapt source files accordingly.
Set CMAKE_BUILD_TYPE to Release by default. Require CMake >=2.8.
Move public header files to src/ subdirectory. Copy them to <prefix>/include/<ns>/ upon installation.
Add missing windows portability definitions.
Fix configuration on Windows and add src directory to include path.
Configure and install CMake package configuration file to help find_package locate the gflags package.
Install CMake config file inside lib/ directory on Unix.
Fix relative path to installation prefix in CMake config file.
Use gflags as target name instead of PACKAGE_NAME to not make things unnecessarily generic.
Move definition of configure_sources CMake function to utils module.
Set PACKAGE_VERSION_EXACT to FALSE if major.minor version is not equal to the requested version.
Give basic CMake based build instructions in INSTALL file.
Install Bash completion script.
Enable build and execution of tests again using CTest.
Add missing unittest2 and unittest3 executables.
Add gflags library which is built with NO_THREADS definition.
Add negative compilation tests.
Document finding and linking to gflags using CMake.