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 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: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.
Andreas Schuh [Fri, 14 Mar 2014 20:32:37 +0000 (20:32 +0000)]
Migrate unit tests to CMake/CTest. Fix preprocessor directive in gflags_unittest.cc.
Andreas Schuh [Fri, 14 Mar 2014 16:29:51 +0000 (16:29 +0000)]
Issue #73 Merge gflags_config.h into gflags_declare.h. Configuration of gflags.h no longer needed.
Andreas Schuh [Fri, 14 Mar 2014 16:08:52 +0000 (16:08 +0000)]
Issue #73 Fix missing STL DLL export warnings of Visual Studio according to KB168958.
Andreas Schuh [Fri, 14 Mar 2014 13:30:22 +0000 (13:30 +0000)]
Fix build on Windows using Visual Studio. Add gflags_config.h.
Andreas Schuh [Fri, 14 Mar 2014 13:29:11 +0000 (13:29 +0000)]
Add header files to add_library targets so they show up in IDEs.
Andreas Schuh [Wed, 27 Nov 2013 17:51:19 +0000 (09:51 -0800)]
Merge pull request #5 from Photonios/master
Add .gitignore for typical auxiliary files on Windows, renamed projects to match VS version, added x64 to VS2010.
Swen Kooij [Wed, 27 Nov 2013 17:05:06 +0000 (18:05 +0100)]
Renamed projects in VS2003 solution file to match the filename
Swen Kooij [Wed, 27 Nov 2013 17:04:40 +0000 (18:04 +0100)]
Renamed projects in VS2012 solution file to match the filename
Photonios [Fri, 22 Nov 2013 16:32:40 +0000 (17:32 +0100)]
Added configuration options for x64 to vs2010 solution/project file
Photonios [Fri, 22 Nov 2013 16:31:07 +0000 (17:31 +0100)]
Added Git ignore file to prevent build files being seen as changed files
Andreas Schuh [Wed, 6 Nov 2013 20:56:03 +0000 (20:56 +0000)]
Minor update of README.
Andreas Schuh [Tue, 5 Nov 2013 12:09:52 +0000 (12:09 +0000)]
Ignore .DS_Store files of OS X.
Andreas Schuh [Tue, 5 Nov 2013 12:03:29 +0000 (12:03 +0000)]
Be more specific about what to ignore.
Andreas Schuh [Tue, 5 Nov 2013 11:56:17 +0000 (03:56 -0800)]
Merge pull request #3 from dominichamon/cmake-migration
Adding gitignore for generated files
Andreas Schuh [Tue, 5 Nov 2013 00:56:31 +0000 (16:56 -0800)]
Merge pull request #4 from daniperez/cmake-migration
Exporting binary tree to CMake registry
Dani Perez [Tue, 22 Oct 2013 21:03:27 +0000 (23:03 +0200)]
exporting binary tree to CMake registry
This eases integration with other applications making use
of gflags without needing to install it in the system.
find_package looks in the registry for existing software.
Dominic Hamon [Fri, 20 Sep 2013 21:14:23 +0000 (14:14 -0700)]
Adding gitignore for generated files
Andreas Schuh [Thu, 1 Aug 2013 02:53:59 +0000 (03:53 +0100)]
Remove reference to README_windows.
Andreas Schuh [Thu, 1 Aug 2013 02:46:29 +0000 (03:46 +0100)]
Document finding and linking to gflags using CMake.
Andreas Schuh [Thu, 1 Aug 2013 02:31:47 +0000 (03:31 +0100)]
Add negative compilation tests.
Andreas Schuh [Thu, 1 Aug 2013 01:04:37 +0000 (02:04 +0100)]
Add gflags library which is built with NO_THREADS definition.
Andreas Schuh [Thu, 1 Aug 2013 00:59:32 +0000 (01:59 +0100)]
Add missing unittest2 and unittest3 executables.
Andreas Schuh [Thu, 1 Aug 2013 00:47:13 +0000 (01:47 +0100)]
Enable build and execution of tests again using CTest.
Andreas Schuh [Thu, 1 Aug 2013 00:06:36 +0000 (01:06 +0100)]
Install Bash completion script.
Andreas Schuh [Wed, 31 Jul 2013 23:52:46 +0000 (00:52 +0100)]
Give basic CMake based build instructions in INSTALL file.
Andreas Schuh [Wed, 31 Jul 2013 23:27:40 +0000 (00:27 +0100)]
Set PACKAGE_VERSION_EXACT to FALSE if major.minor version is not equal to the requested version.
Andreas Schuh [Wed, 31 Jul 2013 23:17:53 +0000 (00:17 +0100)]
Move definition of configure_sources CMake function to utils module.