Andreas Schuh [Wed, 6 Apr 2016 10:55:47 +0000 (11:55 +0100)]
Merge pull request #147 from bazineta/master
Support uint32 as flag type
Allan L. Bazinet [Tue, 5 Apr 2016 17:56:57 +0000 (10:56 -0700)]
Correct FV_MAX_INDEX
Allan L. Bazinet [Tue, 5 Apr 2016 17:50:21 +0000 (10:50 -0700)]
Support uint32 as flag type
From #99, “Given that there is an unsigned flag type for 64-bit
integers, it is probably reasonable to request/expect the same for
32-bit integers.”
Andreas Schuh [Fri, 4 Mar 2016 10:12:01 +0000 (10:12 +0000)]
Merge PR #137 with change of SOVERSION to <major>.<minor>
Andreas Schuh [Fri, 4 Mar 2016 10:11:39 +0000 (10:11 +0000)]
fix: Change SOVERSION to <major>.<minor> for 2.x release versions
Andreas Schuh [Wed, 2 Mar 2016 17:53:32 +0000 (17:53 +0000)]
Merge pull request #143 from schuhschuh/fix-bazel-bulid-osx
fix #133: Use awk instead of sed which would require different options on OS X
Andreas Schuh [Wed, 2 Mar 2016 17:52:19 +0000 (17:52 +0000)]
fix #133: Use awk instead of sed which would require different options on OS X
Andreas Schuh [Tue, 1 Mar 2016 22:01:54 +0000 (22:01 +0000)]
Merge pull request #142 from schuhschuh/master
mod: Update doc with new find_package COMPONENTS or subproject use
Andreas Schuh [Tue, 1 Mar 2016 22:01:29 +0000 (22:01 +0000)]
mod: Update doc with new find_package COMPONENTS or subproject use
Andreas Schuh [Tue, 1 Mar 2016 21:35:48 +0000 (21:35 +0000)]
Merge pull request #141 from schuhschuh/master
Fix build of unit test on Ubuntu/Windows by changing include order
Andreas Schuh [Tue, 1 Mar 2016 21:34:32 +0000 (21:34 +0000)]
Merge branch 'master' of github.com:gflags/gflags
Andreas Schuh [Tue, 1 Mar 2016 21:34:24 +0000 (21:34 +0000)]
fix: Include order of config.h and gflags.h in unit test
Andreas Schuh [Tue, 1 Mar 2016 21:33:41 +0000 (21:33 +0000)]
Merge pull request #140 from schuhschuh/enh-#117-gflags-subproject-support
These changes improve the CMakeLists.txt of the gflags project to make CMake variables configurable via command-line option -D or super-project settings. Moreover, gflags related variables are only added to the CMake cache when the gflags project is configured as a standalone project. When it is a subproject (cf. #117), the super-project is responsible for setting the configuration variables.
This change set also changes the names of the (exported) target names to gflags[_nothreads]_(static|shared) and the CMake (package) configuration variable names to start with an uppercase prefix "GFLAGS_".
Andreas Schuh [Tue, 1 Mar 2016 21:04:10 +0000 (21:04 +0000)]
cmake: Rename targets to gflags[_nothreads]_(static|shared), support
find_package COMPONENTS
Andreas Schuh [Tue, 1 Mar 2016 21:03:05 +0000 (21:03 +0000)]
cmake: Require CMake 2.8.12 in NC tests
Andreas Schuh [Tue, 1 Mar 2016 20:04:16 +0000 (20:04 +0000)]
cmake: Change CMake package configuration variable name prefix to GFLAGS_
Andreas Schuh [Tue, 1 Mar 2016 20:03:43 +0000 (20:03 +0000)]
cmake: Add CMake variable to cache only when gflags is not a subproject
This change allows the user to include the gflags project as subtree/
submodule in their own project. In this case, no CMake variables used
to configure the build and installation of the gflags library should be
added to the CMake cache.
Andreas Schuh [Tue, 1 Mar 2016 20:10:22 +0000 (20:10 +0000)]
git: Add CMakeLists.txt.user Qt Creator configuration to ignore list
Andreas Schuh [Tue, 1 Mar 2016 19:59:53 +0000 (19:59 +0000)]
Merge pull request #139 from schuhschuh/master
Fix compilation of unittest on Ubuntu
Andreas Schuh [Tue, 1 Mar 2016 19:56:54 +0000 (19:56 +0000)]
fix: Require CMake version 2.8.12 in test project
Andreas Schuh [Tue, 1 Mar 2016 19:56:02 +0000 (19:56 +0000)]
fix: Include private config.h in gflags_unittest.cc
Andreas Schuh [Tue, 1 Mar 2016 16:01:45 +0000 (16:01 +0000)]
fix: Package URLs
Andreas Schuh [Mon, 29 Feb 2016 19:30:58 +0000 (19:30 +0000)]
Revert "#136 Move test binaries to Testing/bin"
This reverts commit
02f318978863a74c74359bc5bf7ab2ed09cf0d87.
Andreas Schuh [Mon, 29 Feb 2016 19:18:21 +0000 (19:18 +0000)]
fix: DLL import/export defines for unit tests, remove obsolete config_for_unittests.h
Andreas Schuh [Mon, 29 Feb 2016 19:17:00 +0000 (19:17 +0000)]
fix: Add missing include guards to gflags/config.h
Andreas Schuh [Mon, 29 Feb 2016 17:58:46 +0000 (17:58 +0000)]
cmake: Clean up static library filename suffix code from PR #126
Andreas Schuh [Mon, 29 Feb 2016 17:54:40 +0000 (17:54 +0000)]
Merge pull request #126 from hevy-CC4477/master
Use ```_static``` suffix in filename of static library on Windows to distinguish it from the import library.
Andreas Schuh [Mon, 29 Feb 2016 17:12:15 +0000 (17:12 +0000)]
enh: Add usage of DEFINE_validator to test project
Andreas Schuh [Mon, 29 Feb 2016 17:03:08 +0000 (17:03 +0000)]
#136 Move test binaries to Testing/bin
Andreas Schuh [Mon, 29 Feb 2016 16:15:11 +0000 (16:15 +0000)]
#51 #138 Use std::string instead const char * for global "constants"
Andreas Schuh [Mon, 29 Feb 2016 16:12:33 +0000 (16:12 +0000)]
fix: Pass std::string directly, no need for c_str() call
Evan Klitzke [Sat, 27 Feb 2016 20:36:14 +0000 (12:36 -0800)]
properly export the .so minor version
Andreas Schuh [Fri, 19 Feb 2016 13:43:45 +0000 (13:43 +0000)]
mod: Update doc
Andreas Schuh [Fri, 19 Feb 2016 13:20:28 +0000 (13:20 +0000)]
#51 Call ShutDownCommandLineFlags for (manual) valgrind test
Andreas Schuh [Fri, 19 Feb 2016 12:59:05 +0000 (12:59 +0000)]
#51 Use static StringFlagDestructor to destruct string objects allocated by placement new
Andreas Schuh [Fri, 19 Feb 2016 09:50:17 +0000 (09:50 +0000)]
Merge pull request #133 from earhart/master
Add Bazel build support
Rob Earhart [Fri, 19 Feb 2016 02:16:44 +0000 (18:16 -0800)]
Add bazel support
Andreas Schuh [Fri, 12 Feb 2016 17:44:56 +0000 (17:44 +0000)]
Merge pull request #131 from sbc100/no_threads
Define NO_THREADS when building without threads
Sam Clegg [Sat, 30 Jan 2016 00:09:43 +0000 (16:09 -0800)]
Define NO_THREADS in when building without threads
Previously NOTHREADS was being defined but the code
in mutex.h checks for NO_THREADS.
Andreas Schuh [Tue, 12 Jan 2016 13:30:13 +0000 (13:30 +0000)]
Merge pull request #129 from Nazg-Gul/master
Resolve some compiler warnings
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
Arnaud Farbos [Thu, 5 Nov 2015 20:03:37 +0000 (12:03 -0800)]
handle generation of dynamic and static library on windows.
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'