Andreas Schuh [Thu, 1 May 2014 18:40:03 +0000 (19:40 +0100)]
Merge pull request #9 from ivaxer/lib-suffix
Append LIB_SUFFIX to LIBRARY_INSTALL_DIR.
John Khvatov [Wed, 30 Apr 2014 20:57:04 +0000 (00:57 +0400)]
cmake: append LIB_SUFFIX to LIBRARY_INSTALL_DIR
Andreas Schuh [Mon, 7 Apr 2014 16:08:17 +0000 (17:08 +0100)]
Merge pull request #8 from shawke/patch-1
Fix compatibility of CMakeCXXInformation.cmake module with older versions of CMake
shawke [Mon, 7 Apr 2014 16:03:26 +0000 (18:03 +0200)]
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
Andreas Schuh [Sun, 30 Mar 2014 14:41:29 +0000 (15:41 +0100)]
Merge remote-tracking branch 'google/release'
Andreas Schuh [Sun, 30 Mar 2014 14:41:02 +0000 (15:41 +0100)]
Add ChangeLog entries for release 2.1.1.
Andreas Schuh [Sun, 30 Mar 2014 14:34:40 +0000 (15:34 +0100)]
Merge remote-tracking branch 'google/release'
Andreas Schuh [Sun, 30 Mar 2014 14:34:13 +0000 (15:34 +0100)]
Set CPACK_PACKAGE_ARCHITECTURE to darwin on Mac OS.
Andreas Schuh [Sun, 30 Mar 2014 14:18:26 +0000 (15:18 +0100)]
Add NEWS of release version 2.1.1.
Andreas Schuh [Sun, 30 Mar 2014 14:17:49 +0000 (15:17 +0100)]
Bump version to 2.1.1.
Andreas Schuh [Sun, 30 Mar 2014 14:16:35 +0000 (15:16 +0100)]
Merge remote-tracking branch 'google/develop' into release
Andreas Schuh [Sun, 30 Mar 2014 14:16:00 +0000 (15:16 +0100)]
Add test which uses gflags_declare.h.
Update issue 79
Added a test which uses gflags_declare.h as any other project would use it to avoid such avoidable build configuration mistakes.
Andreas Schuh [Sun, 30 Mar 2014 13:46:28 +0000 (14:46 +0100)]
Merge remote-tracking branch 'google/develop' into release
Andreas Schuh [Thu, 27 Mar 2014 01:45:47 +0000 (01:45 +0000)]
Update NEWS.
Andreas Schuh [Thu, 27 Mar 2014 01:30:30 +0000 (01:30 +0000)]
Merge branch 'develop' of github.com:schuhschuh/gflags into develop
Andreas Schuh [Thu, 27 Mar 2014 01:29:02 +0000 (01:29 +0000)]
Merge branch 'refs/heads/bugfix/#77-@GFLAGS_IS_A_DLL@-expands-to-empty' into develop
Andreas Schuh [Thu, 27 Mar 2014 01:09:20 +0000 (01:09 +0000)]
Add GFLAGS_INCLUDE_DIR CMake variable (Fixes issue #80).
Both GFLAGS_NAMESPACE and GFLAGS_INCLUDE_DIR can be used to customize the installation of the gflags library. One specifies the C++ namespace name of the gflags symbols, the other the include subdirectory path of the public header files. By default, both are set to "gflags", but other Google libraries still expect "google" as C++ namespace name, but not necessarily also include path.
Andreas Schuh [Tue, 25 Mar 2014 15:29:56 +0000 (15:29 +0000)]
Use GFLAGS_IS_A_DLL=1 in public headers if BUILD_SHARED_LIBS is enabled (Fixes issue #77).
Andreas Schuh [Sat, 22 Mar 2014 01:00:11 +0000 (01:00 +0000)]
Remove devel package content summary from README
Andreas Schuh [Thu, 27 Mar 2014 01:09:49 +0000 (01:09 +0000)]
Merge remote-tracking branch 'google/feature/#80-configurable-include-path' into develop
Andreas Schuh [Thu, 27 Mar 2014 01:09:20 +0000 (01:09 +0000)]
Add GFLAGS_INCLUDE_DIR CMake variable (Fixes issue #80).
Both GFLAGS_NAMESPACE and GFLAGS_INCLUDE_DIR can be used to customize the installation of the gflags library. One specifies the C++ namespace name of the gflags symbols, the other the include subdirectory path of the public header files. By default, both are set to "gflags", but other Google libraries still expect "google" as C++ namespace name, but not necessarily also include path.
Andreas Schuh [Wed, 26 Mar 2014 19:37:01 +0000 (19:37 +0000)]
Replace GFLAGS_NAMESPACE by @GFLAGS_NAMESPACE@ in gflags_declare.h (Fixes issue #79).
Andreas Schuh [Wed, 26 Mar 2014 19:33:24 +0000 (19:33 +0000)]
Merge remote-tracking branch 'google/bugfix/#77-@GFLAGS_IS_A_DLL@-expands-to-empty' into develop
Andreas Schuh [Tue, 25 Mar 2014 15:29:56 +0000 (15:29 +0000)]
Use GFLAGS_IS_A_DLL=1 in public headers if BUILD_SHARED_LIBS is enabled (Fixes issue #77).
Andreas Schuh [Tue, 25 Mar 2014 15:29:56 +0000 (15:29 +0000)]
Use GFLAGS_IS_A_DLL=1 in public headers if BUILD_SHARED_LIBS is enabled (Fixes issue #77).
Andreas Schuh [Sat, 22 Mar 2014 01:00:11 +0000 (01:00 +0000)]
Remove devel package content summary from README
Andreas Schuh [Thu, 20 Mar 2014 21:25:35 +0000 (21:25 +0000)]
Resolve conflicts upon pull.
Andreas Schuh [Thu, 20 Mar 2014 20:56:05 +0000 (20:56 +0000)]
Set package architecture to i386 when compiling with -m32.
Andreas Schuh [Thu, 20 Mar 2014 20:29:11 +0000 (20:29 +0000)]
Merge remote-tracking branch 'google/release' into develop
Andreas Schuh [Thu, 20 Mar 2014 20:27:48 +0000 (20:27 +0000)]
Merge remote-tracking branch 'google/hotfix/rpm-package-architecture' into release
Andreas Schuh [Thu, 20 Mar 2014 20:24:30 +0000 (20:24 +0000)]
Merge remote-tracking branch 'google/hotfix/rpm-package-architecture'
Andreas Schuh [Thu, 20 Mar 2014 20:21:30 +0000 (20:21 +0000)]
Fix architecture used for RPM packages and DEB/RPM package file names.
Andreas Schuh [Thu, 20 Mar 2014 16:37:14 +0000 (16:37 +0000)]
Merge remote-tracking branch 'google/release' into 'master'.
Conflicts:
gflags-vs2003.sln
gflags-vs2010.sln
gflags-vs2012.sln
vsprojects/gflags_unittest/gflags_unittest-vs2010.vcxproj
vsprojects/libgflags/libgflags-vs2010.vcxproj
Andreas Schuh [Thu, 20 Mar 2014 16:35:30 +0000 (16:35 +0000)]
Mention Git branching model in NEWS.
Andreas Schuh [Thu, 20 Mar 2014 16:32:54 +0000 (16:32 +0000)]
Add release notes.
Andreas Schuh [Thu, 20 Mar 2014 16:19:00 +0000 (16:19 +0000)]
Change version to 2.1.0, i.e., use common semantic versioning system including patch number for bug fix releases.
Andreas Schuh [Thu, 20 Mar 2014 16:15:10 +0000 (16:15 +0000)]
Add missing entry to ChangeLog for v2.1 release.
Andreas Schuh [Thu, 20 Mar 2014 16:02:15 +0000 (16:02 +0000)]
Add ChangeLog entries for v2.1 release.
Andreas Schuh [Thu, 20 Mar 2014 04:43:01 +0000 (04:43 +0000)]
Ignore packages subdirectory (if it exists).
Andreas Schuh [Thu, 20 Mar 2014 04:38:03 +0000 (04:38 +0000)]
Merge branch 'refs/heads/feature/cpack-package-generation' into develop
Andreas Schuh [Thu, 20 Mar 2014 04:24:57 +0000 (04:24 +0000)]
Use dpkg --print-architecture also for RPM generator.
Andreas Schuh [Thu, 20 Mar 2014 04:20:15 +0000 (04:20 +0000)]
Set additional DEB CPack variables in package.cmake.in.
Andreas Schuh [Thu, 20 Mar 2014 04:09:02 +0000 (04:09 +0000)]
Change package vendor to just a name.
Andreas Schuh [Thu, 20 Mar 2014 04:06:13 +0000 (04:06 +0000)]
Remove brief description from README to avoid duplicate appearance in RPM and other packages.
Andreas Schuh [Thu, 20 Mar 2014 03:53:50 +0000 (03:53 +0000)]
Add missing year to ChangeLog entry. RPM is now generated successfully.
Andreas Schuh [Thu, 20 Mar 2014 03:51:30 +0000 (03:51 +0000)]
Remove separating lines from ChangeLog again.
Andreas Schuh [Thu, 20 Mar 2014 03:49:21 +0000 (03:49 +0000)]
Add missing name to ChangeLog entry and further format changes.
Andreas Schuh [Thu, 20 Mar 2014 03:42:22 +0000 (03:42 +0000)]
Remove time fields from ChangeLog entries which are not compatible with RPM spec.
Andreas Schuh [Thu, 20 Mar 2014 03:38:59 +0000 (03:38 +0000)]
Fix bugs in package configuration file.
Andreas Schuh [Thu, 20 Mar 2014 03:35:15 +0000 (03:35 +0000)]
Convert ChangeLog to format allowed in RPM spec.
Andreas Schuh [Thu, 20 Mar 2014 03:27:13 +0000 (03:27 +0000)]
Set RPM CPack variables already in CMakeList.txt.
Andreas Schuh [Thu, 20 Mar 2014 03:23:08 +0000 (03:23 +0000)]
Set RPM generator specific variables.
Andreas Schuh [Thu, 20 Mar 2014 03:22:57 +0000 (03:22 +0000)]
Correct CPack package description file.
Andreas Schuh [Thu, 20 Mar 2014 03:04:44 +0000 (03:04 +0000)]
Fix build of threaded library on Unix by adding the appropriate link library.
Andreas Schuh [Thu, 20 Mar 2014 02:13:13 +0000 (02:13 +0000)]
Change mode of text file.
Andreas Schuh [Thu, 20 Mar 2014 02:11:44 +0000 (02:11 +0000)]
Enable packaging of library using CPack.
Andreas Schuh [Wed, 19 Mar 2014 17:56:32 +0000 (17:56 +0000)]
Revert "Added Git ignore file to prevent build files being seen as changed files"
This reverts commit
fb21f3cca06e9ff367795ed47e6bb93a9cfcfcba.
Andreas Schuh [Wed, 19 Mar 2014 17:32:23 +0000 (17:32 +0000)]
Add link dependency on shlwapi.lib during build configuration instead of #pragma comment statement. Use this library also on MinGW.
Andreas Schuh [Wed, 19 Mar 2014 17:15:36 +0000 (17:15 +0000)]
Look for shlwapi.h also in case of MinGW.
Andreas Schuh [Wed, 19 Mar 2014 16:53:19 +0000 (16:53 +0000)]
Use strtoll as defined by windows_port.h for strto64.
Andreas Schuh [Wed, 19 Mar 2014 16:46:56 +0000 (16:46 +0000)]
Use OS_WINDOWS #define instead of _WIN32 and WINDOWS.
The OS_WINDOWS #define has previously been used in gflags.cc before the CMake migration.
Andreas Schuh [Wed, 19 Mar 2014 16:08:35 +0000 (16:08 +0000)]
Merge remote-tracking branch 'github/cmake-migration'
Andreas Schuh [Wed, 19 Mar 2014 16:05:02 +0000 (16:05 +0000)]
Remove GFLAGS_NAMESPACE and version macros from public headers again.
Andreas Schuh [Wed, 19 Mar 2014 15:56:26 +0000 (15:56 +0000)]
Simplify check for strtoll and strtoq.
Andreas Schuh [Wed, 19 Mar 2014 15:55:43 +0000 (15:55 +0000)]
Fix conditional compilation of tests using glob expressions.
Andreas Schuh [Wed, 19 Mar 2014 14:48:03 +0000 (14:48 +0000)]
Add .gitattributes file to normalize all files to LF.
unknown [Wed, 19 Mar 2014 14:27:08 +0000 (15:27 +0100)]
Convert line endings to Unix format.
Andreas Schuh [Wed, 19 Mar 2014 14:24:52 +0000 (14:24 +0000)]
Replace GFLAGS_HAVE_* #defines by HAVE_* again.
Andreas Schuh [Wed, 19 Mar 2014 11:35:30 +0000 (11:35 +0000)]
No need to export CommandLineFlagInfo data only structure from DLL.
Andreas Schuh [Wed, 19 Mar 2014 11:29:43 +0000 (11:29 +0000)]
Fix bug in SafeFOpen showing up in Cygwin. Errno only guaranteed to be set on failure.
Andreas Schuh [Tue, 18 Mar 2014 22:39:59 +0000 (22:39 +0000)]
Fix check for pthreads library on Ubuntu.
Andreas Schuh [Tue, 18 Mar 2014 22:06:13 +0000 (22:06 +0000)]
Add missing CheckTypeSizeMap.cmake.in file.
Copied from CMake master branch.
Andreas Schuh [Tue, 18 Mar 2014 22:03:10 +0000 (22:03 +0000)]
Fix DLL build on Windows and use PathMatchSpec instead of fnmatch.
Expose as few system variables as possible through public interface.
Perform STRIP_FLAGS_HELP test using CMake instead of Bash.
Change file path separator used by gflags_reporting.cc to backslash on Windwos.
Andreas Schuh [Tue, 18 Mar 2014 21:59:48 +0000 (21:59 +0000)]
Modify CheckTypeSize.cmake module so it works with older CMake versions.
Andreas Schuh [Mon, 17 Mar 2014 21:49:10 +0000 (21:49 +0000)]
Fix unit tests for Windows and CygWin.
Andreas Schuh [Mon, 17 Mar 2014 21:38:21 +0000 (21:38 +0000)]
Add missing errno.h include statement and use int instead of errno_t.
Andreas Schuh [Mon, 17 Mar 2014 21:27:01 +0000 (21:27 +0000)]
Fix up use of SafeFOpen.
Andreas Schuh [Mon, 17 Mar 2014 21:22:51 +0000 (21:22 +0000)]
Enable test case which tests invalid negative value for uint64 flag.
Andreas Schuh [Mon, 17 Mar 2014 21:21:59 +0000 (21:21 +0000)]
Create temporary directory for unit tests in specified --test_tmpdir if possible.
Andreas Schuh [Mon, 17 Mar 2014 21:21:21 +0000 (21:21 +0000)]
Use _strtoi64 and _strtoui64 on Windows.
Andreas Schuh [Mon, 17 Mar 2014 21:20:24 +0000 (21:20 +0000)]
Fix VS linker warning regarding locally defined FLAGS_tryfromenv symbol.
Andreas Schuh [Mon, 17 Mar 2014 21:19:35 +0000 (21:19 +0000)]
Fix VS security warnings using SafeGetEnv and SafeFOpen utility functions.
Andreas Schuh [Mon, 17 Mar 2014 21:16:31 +0000 (21:16 +0000)]
Minor CMake coding style change of version_numbers function.
Andreas Schuh [Mon, 17 Mar 2014 21:15:52 +0000 (21:15 +0000)]
Pass --test_tmpdir and --srcdir to unittests.
Andreas Schuh [Mon, 17 Mar 2014 20:54:48 +0000 (20:54 +0000)]
Require at least CMake 2.8.4 to avoid Cygwin legacy warning.
Andreas Schuh [Mon, 17 Mar 2014 16:12:56 +0000 (16:12 +0000)]
Add missing execute_test.cmake script.
Andreas Schuh [Mon, 17 Mar 2014 13:44:03 +0000 (13:44 +0000)]
Rename FindThreadsCXX module.
Andreas Schuh [Mon, 17 Mar 2014 13:41:46 +0000 (13:41 +0000)]
Fix typo in documentation and path of execute_test.cmake script.
Andreas Schuh [Mon, 17 Mar 2014 13:38:48 +0000 (13:38 +0000)]
Remove obsolete set(GFLAGS_INTTYPES_FORMAT) call.
Andreas Schuh [Mon, 17 Mar 2014 13:36:34 +0000 (13:36 +0000)]
Minor style change to be consistent.
Andreas Schuh [Mon, 17 Mar 2014 13:33:26 +0000 (13:33 +0000)]
Fix preprocessor conditions to use new GFLAGS_* defines.
Andreas Schuh [Mon, 17 Mar 2014 13:25:04 +0000 (13:25 +0000)]
Modify CheckCXXLibraryExists to use CMakeFiles directory.
Andreas Schuh [Mon, 17 Mar 2014 13:17:44 +0000 (13:17 +0000)]
Add CheckCXXLibraryExists.cmake module and use it in FindTreadsCXX.cmake.
Andreas Schuh [Mon, 17 Mar 2014 12:38:41 +0000 (12:38 +0000)]
Fix previous change of FindThreadsCxx.cmake by copying needed source file from CMake installation, changing the file name extension only.
Andreas Schuh [Mon, 17 Mar 2014 12:35:28 +0000 (12:35 +0000)]
Use CheckForPthreads.cxx to find pthreads library on Ubuntu.
Andreas Schuh [Mon, 17 Mar 2014 12:16:26 +0000 (12:16 +0000)]
Merge pull request #7 from andy-held/cmake-migration
Fix case in CMake module includes.
Andreas Franek [Mon, 17 Mar 2014 08:38:15 +0000 (09:38 +0100)]
* fixed letter case of included file names
* C language definition is needed for CheckForPthreads.c
Andreas Schuh [Sat, 15 Mar 2014 14:31:21 +0000 (14:31 +0000)]
Check if pthread_rwlock_t is available and use it if so.
Andreas Schuh [Sat, 15 Mar 2014 14:15:33 +0000 (14:15 +0000)]
Fix build with Xcode 5, system checks, set LANGUAGE to CXX.
Andreas Schuh [Fri, 14 Mar 2014 20:34:30 +0000 (20:34 +0000)]
Remove obsolete gflags_unittest.sh script.