Sergey Sharybin [Thu, 31 Dec 2015 12:16:26 +0000 (17:16 +0500)]
Fix some compilation warnings with MSVC 2015
MSVC 2015 already defines vsnprintf() and va_copy().
Sergey Sharybin [Thu, 31 Dec 2015 12:09:59 +0000 (17:09 +0500)]
Resolve several missing declarations warnings
Andreas Schuh [Wed, 28 Oct 2015 00:19:33 +0000 (00:19 +0000)]
#125 Fix unused typedef/variable warning for static assertion
Andreas Schuh [Tue, 27 Oct 2015 23:00:58 +0000 (23:00 +0000)]
#124 Remove using namespace from mutex.h
Andreas Schuh [Tue, 19 May 2015 23:37:42 +0000 (00:37 +0100)]
Merge pull request #116 from KjellSchubert/vs2015
Fix build with MS VS 2015 RC
Kjell Schubert [Tue, 19 May 2015 22:56:39 +0000 (15:56 -0700)]
support for msvs 2015
Andreas Schuh [Fri, 3 Apr 2015 15:12:38 +0000 (16:12 +0100)]
#113 Require CMake >= 2.8.12
Earlier version, such as CMake 2.8.11.2 in particular, have incomplete or faulty support of target_include_directories generator expressions. Moreover, this allows us to assume that the command target_include_directories is available.
Andreas Schuh [Tue, 31 Mar 2015 14:53:18 +0000 (15:53 +0100)]
#112 Use HTTPS protocol for "doc" submodule to not require SSH authentication
Andreas Schuh [Wed, 25 Mar 2015 13:54:49 +0000 (13:54 +0000)]
#106 Add test of gflags-config.cmake package configuration
Andreas Schuh [Wed, 25 Mar 2015 03:17:36 +0000 (03:17 +0000)]
#110 Set gflags_LIBRARIES to value of gflags_TARGET instead of "gflags"
Andreas Schuh [Wed, 25 Mar 2015 03:13:56 +0000 (03:13 +0000)]
#110 Update CMake example on how to link against gflags library
Andreas Schuh [Wed, 25 Mar 2015 03:07:04 +0000 (03:07 +0000)]
#110 Add "gflags" import target and gflags_TARGET
The gflags_TARGET variable contains the name of the originally exported import target. The "gflags" import target contains a copy of the relevant properties of this import target created by CMake. The gflags_LIBRARIES variable can be used to be consistent with other packages, but is otherwise no longer needed. In most cases, "target_link_libraries(foo gflags)" should be used.
Andreas Schuh [Wed, 25 Mar 2015 00:14:46 +0000 (00:14 +0000)]
#108 Use PROJECT_BINARY_DIR in place of gflags_BINARY_DIR
Andreas Schuh [Wed, 25 Mar 2015 00:02:22 +0000 (00:02 +0000)]
#107 Correct description of GFLAGS_INCLUDE_DIR
Andreas Schuh [Wed, 25 Mar 2015 00:00:50 +0000 (00:00 +0000)]
#107 Document remaining CMake cache entries
Andreas Schuh [Tue, 24 Mar 2015 23:45:21 +0000 (23:45 +0000)]
#105 Modify negative compilation tests to link against gflags_LIBRARIES
Andreas Schuh [Tue, 24 Mar 2015 23:44:34 +0000 (23:44 +0000)]
#108 Fix temporary directory configuration of negative compilation tests
Andreas Schuh [Tue, 24 Mar 2015 23:43:53 +0000 (23:43 +0000)]
#104 Fix compilation of tests
Andreas Schuh [Tue, 24 Mar 2015 23:31:34 +0000 (23:31 +0000)]
mod: Update gh-pages with correct GitHub organization URLs and CMake example
Andreas Schuh [Tue, 24 Mar 2015 19:13:46 +0000 (19:13 +0000)]
mod: Update gh-pages with documentation of config options
Andreas Schuh [Tue, 24 Mar 2015 18:55:17 +0000 (18:55 +0000)]
#105 Add gflags_SHARED and gflags_NOTHREADED gflags-config.cmake options
Andreas Schuh [Tue, 24 Mar 2015 18:54:30 +0000 (18:54 +0000)]
#104 Fix library include directories settings
Andreas Schuh [Tue, 24 Mar 2015 17:48:29 +0000 (17:48 +0000)]
doc: Correct year in README
Andreas Schuh [Tue, 24 Mar 2015 17:07:00 +0000 (17:07 +0000)]
doc: Spelling correction
Andreas Schuh [Tue, 24 Mar 2015 17:04:08 +0000 (17:04 +0000)]
mod: Change URL of gh-pages submodule to use GitHub gflags community repo
Andreas Schuh [Tue, 24 Mar 2015 16:36:13 +0000 (16:36 +0000)]
doc: Add ChangeLog entries for release 2.1.2
Andreas Schuh [Tue, 24 Mar 2015 16:35:19 +0000 (16:35 +0000)]
doc: Update README
Andreas Schuh [Tue, 24 Mar 2015 16:29:31 +0000 (16:29 +0000)]
fixup: Package configuration
Andreas Schuh [Tue, 24 Mar 2015 16:21:44 +0000 (16:21 +0000)]
fix: Extension of README file for PackageMaker
Andreas Schuh [Tue, 24 Mar 2015 15:36:26 +0000 (15:36 +0000)]
#101 Enable C language again as long as FindThreads requires it
This avoids having patched CMake modules in the source tree of the gflags library. Usually a C compiler is installed along a C++ compiler (or it is used for C as well). The only slight downside is the extra configuration time needed by CMake to check the C compiler.
Andreas Schuh [Tue, 24 Mar 2015 15:05:08 +0000 (15:05 +0000)]
mod: Update gh-pages
Andreas Schuh [Tue, 24 Mar 2015 14:59:51 +0000 (14:59 +0000)]
doc: Readding doc submodule
Andreas Schuh [Tue, 24 Mar 2015 14:48:59 +0000 (14:48 +0000)]
fix: Remove accidentally added gh-pages files
Andreas Schuh [Tue, 24 Mar 2015 14:45:05 +0000 (14:45 +0000)]
Merge branch 'master' of github.com:schuhschuh/gflags
Andreas Schuh [Tue, 24 Mar 2015 14:44:57 +0000 (14:44 +0000)]
cmake: Set version of master branch to next release version
Andreas Schuh [Tue, 24 Mar 2015 14:44:12 +0000 (14:44 +0000)]
#104 Set INTERFACE_INCLUDE_DIRECTORIES of (imported) targets
Andreas Schuh [Tue, 24 Mar 2015 14:41:52 +0000 (14:41 +0000)]
fix: File paths and package URLs
Andreas Schuh [Tue, 24 Mar 2015 14:41:10 +0000 (14:41 +0000)]
#103 Silence CMake warning regarding CMP0042 (MACOS_RPATH)
Andreas Schuh [Tue, 24 Mar 2015 14:40:11 +0000 (14:40 +0000)]
Merge branch 'update-cmake-example'
Andreas Schuh [Tue, 24 Mar 2015 14:39:48 +0000 (14:39 +0000)]
Merge branch 'master' of github.com:schuhschuh/gflags into update-cmake-example
Andreas Schuh [Tue, 24 Mar 2015 14:39:43 +0000 (14:39 +0000)]
doc: Remove no longer needed include_directories command from example
Andreas Schuh [Tue, 24 Mar 2015 13:21:35 +0000 (13:21 +0000)]
doc: Spelling correction
Andreas Schuh [Tue, 24 Mar 2015 12:59:56 +0000 (12:59 +0000)]
add: Common build directory names to ignore list
Andreas Schuh [Tue, 24 Mar 2015 12:58:23 +0000 (12:58 +0000)]
doc: Add gh-pages branch as submodule in doc directory
Andreas Schuh [Tue, 24 Mar 2015 12:55:52 +0000 (12:55 +0000)]
add: .nojekyll file
Andreas Schuh [Tue, 24 Mar 2015 12:55:31 +0000 (12:55 +0000)]
fix: Rename documentation HTML file to index.html
Andreas Schuh [Tue, 24 Mar 2015 12:51:30 +0000 (12:51 +0000)]
add: Files from doc/ directory of master branch
Andreas Schuh [Tue, 24 Mar 2015 12:42:53 +0000 (12:42 +0000)]
Merge branch 'feature/#83-alternative-namespace'
Andreas Schuh [Tue, 24 Mar 2015 12:41:43 +0000 (12:41 +0000)]
doc: Convert INSTALL instructions to Markdown
Andreas Schuh [Tue, 24 Mar 2015 12:34:22 +0000 (12:34 +0000)]
doc: Replace README by previous NEWS in Markdown format
Andreas Schuh [Tue, 24 Mar 2015 12:33:52 +0000 (12:33 +0000)]
cmake: Add advanced cache entries for GFLAGS_NAMESPACE and GFLAGS_INCLUDE_DIR
Andreas Schuh [Thu, 17 Jul 2014 10:21:36 +0000 (11:21 +0100)]
cmake: Do not cache GFLAGS_NAMESPACE and GFLAGS_INCLUDE_DIR.
These CMake variables are now set to a default which both maintains binary backwards compatibility with previous versions of the library, but at the same time allows already the use of the new "gflags" namespace instead of "google". Users may still override the default using the -D option of cmake, for example, when they use the library directly as submodule in their own project and prefer a different namespace/installation directory.
Andreas Schuh [Thu, 17 Jul 2014 01:45:50 +0000 (02:45 +0100)]
Change default GFLAGS_NAMESPACE to "google;gflags" and add GFLAGS_INCLUDE_DIR with default "gflags" to cache.
This ensures binary compatibility with previous 2.x release versions while allowing users to refer to the gflags library symbols using the preferred "gflags" namespace identifier.
Andreas Schuh [Thu, 17 Jul 2014 01:14:41 +0000 (02:14 +0100)]
fix: Include guard of alternative "gflags" namespace header.
Andreas Schuh [Fri, 2 May 2014 13:56:58 +0000 (14:56 +0100)]
Support alternative namespaces in GFLAGS_NAMESPACE CMake variable.
The first element in the GFLAGS_NAMESPACE list is used as primary/default namespace. The symbols are then imported from this primary namespace into each of the other alternative namespaces with the using keyword. This is in particular used to maintain backwards compatibility with previous gflags library versions that used the "google" namespace instead of the new default "gflags" namespace.
Andreas Schuh [Fri, 2 May 2014 11:00:35 +0000 (12:00 +0100)]
Define GFLAGS_NAMESPACE in public headers.
This avoids any mistakes where once @GFLAGS_NAMESPACE@ was used in public .h.in files, or the #define GFLAGS_NAMESPACE in internal source files.
Andreas Schuh [Fri, 2 May 2014 10:13:18 +0000 (11:13 +0100)]
Merge remote-tracking branch 'google/bugfix/#82-shared-library-versioning'
Andreas Schuh [Fri, 2 May 2014 10:12:05 +0000 (11:12 +0100)]
Use major version number only as SOVERSION.
Andreas Schuh [Thu, 1 May 2014 19:44:09 +0000 (20:44 +0100)]
Merge remote-tracking branch 'google/bugfix/#82-shared-library-versioning'
Andreas Schuh [Thu, 1 May 2014 19:16:16 +0000 (20:16 +0100)]
Set VERSION property of library targets to <major>.<minor>.
Andreas Schuh [Thu, 1 May 2014 19:00:11 +0000 (20:00 +0100)]
Merge remote-tracking branch 'google/develop'
Andreas Schuh [Thu, 1 May 2014 18:59:36 +0000 (19:59 +0100)]
Merge pull request #10 from ivaxer/doc-namespace-rename
doc: rename namespace from google (deprecated) to gflags (default)
Andreas Schuh [Thu, 1 May 2014 18:58:25 +0000 (19:58 +0100)]
Use LIB_INSTALL_DIR to initialize LIBRARY_INSTALL_DIR.
In particular the Fedora package maintainers pass LIB_INSTALL_DIR instead of LIBRARY_INSTALL_DIR.
Andreas Schuh [Thu, 1 May 2014 18:49:53 +0000 (19:49 +0100)]
Merge remote-tracking branch 'google/master' into develop
Andreas Schuh [Thu, 1 May 2014 18:49:24 +0000 (19:49 +0100)]
Make LIBRARY_INSTALL_DIR configurable by the user.
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 23:10:54 +0000 (03:10 +0400)]
doc: rename namespace from google (deprecated) to gflags (default)
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:09:39 +0000 (17:09 +0100)]
Merge remote-tracking branch 'google/master' into develop
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:44:24 +0000 (15:44 +0100)]
Merge remote-tracking branch 'google/release' into develop
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:35:13 +0000 (15:35 +0100)]
Merge remote-tracking branch 'google/release' into develop
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'