Dreamer
15394d356c
Add shared library build to the AppVeyor CI config. ( #167 )
2016-08-03 08:24:55 +01:00
Dreamer
e58e5303d6
Remove filter for excluded tests from AppVeyor config. ( #165 )
2016-08-02 12:28:57 +01:00
Andreas Schuh
435f949dbb
test: Travis CI build static+shared in Release+Debug ( #164 )
2016-08-02 12:24:34 +01:00
Andreas Schuh
22e4a534c1
fix: Run strip_flags_binary test only for release configurations ( #163 )
2016-08-02 12:15:44 +01:00
Dreamer
c713d2e789
test: Run AppVeyor build via cmake --build and run tests. ( #162 )
2016-08-02 12:00:16 +01:00
Andreas Schuh
b16653edf0
fix: Typo in gflags_strip_flags_test.cmake script
2016-08-02 09:51:47 +01:00
Andreas Schuh
ec4b5daadf
doc: Add AppVeyor status badge to README
...
[ci skip]
2016-08-01 20:04:43 +01:00
Dreamer
f0be9c88ca
Add initial AppVeyor config. ( #161 )
2016-08-01 19:57:54 +01:00
Andreas Schuh
78cab6c649
doc: Add Travis CI status badge to README
2016-08-01 17:05:26 +01:00
Dreamer
4667f41317
Enable Travis CI for Linux and OSX builds ( #160 )
2016-08-01 17:01:18 +01:00
Andreas Schuh
a5a1b28767
Merge pull request #158 from dreamer-dead/use-type-name-enum
...
Use enum to specify flag value type.
2016-08-01 15:10:29 +01:00
dreamer.dead
7ba9921866
Fix wrong type comparison and outdated OfType() usage.
2016-08-01 16:45:49 +03:00
dreamer.dead
30519426c3
Fix indentation and remove outdated assert.
2016-08-01 15:47:46 +03:00
dreamer.dead
3c0ad4fc9e
Extract common code from FlagRegisterer to reduce size.
2016-08-01 14:52:26 +03:00
dreamer.dead
a1e461d61d
Change template FlagValue::OfType() to Type() getter.
2016-08-01 14:51:11 +03:00
dreamer.dead
46ea10f071
Do not pass flag type as a char literal when registering a new flag.
...
It is possible to create a type-safe version of FlagRegisterer
ctor (as well as some internal gflags classes), that will deduce
type of the new flag automatically.
This results in removing quite a few calls to strcmp() when new
flag is created.
No existing behavior change.
2016-07-29 21:02:29 +03:00
Andreas Schuh
fe57e5af4d
Merge pull request #156 from dreamer-dead/fix-flag-value-typename
...
Fix incorrect flag value typename for uint32.
2016-07-20 10:24:14 +01:00
dreamer.dead
fa2663839c
Fix unittests expectations related to uint32.
2016-07-20 12:18:08 +03:00
dreamer.dead
5ef4c3c076
Fix uint32 type name.
2016-07-20 12:16:34 +03:00
Andreas Schuh
2e4159fbe5
Merge pull request #155 from dreamer-dead/add-missing-reference
...
Add missing reference symbol to a function parameter.
2016-07-18 17:09:53 +01:00
dreamer.dead
3e946c9ebc
Add missing reference symbol to a function parameter.
2016-07-18 18:44:20 +03:00
Andreas Schuh
546819b1d9
Merge pull request #152 from Liuchang0812/master
...
fix: Consider Windows-style LRLF in flag parsing
2016-06-28 12:15:02 +01:00
liuchang0812
0c17f1ee02
fix bug about LRLF
2016-06-28 17:57:02 +08:00
Andreas Schuh
ac1a925c2b
fix #151 : Ubuntu package name in INSTALL instructions
2016-06-01 12:00:42 +01:00
Andreas Schuh
d701ceac73
Merge pull request #150 from LuminateWireless/fix-bazel-build
...
Fix bazel build
2016-05-10 22:45:26 +01:00
Ming Zhao
7ae23fd1e7
Add gendir to the include path so that building with bazel doesn't
...
complain config.h can't be found.
2016-05-10 14:42:11 -07:00
Andreas Schuh
8de80b9a2d
Merge pull request #149 from hevy-CC4477/master
...
Add GFLAGS_IS_A_DLL compile option for unit test which includes private config.h.
2016-04-26 15:46:56 +01:00
FARBOS Arnaud
eff38cbc18
fix test compilation
2016-04-26 15:05:53 +02:00
Andreas Schuh
9353bca5e9
Merge pull request #147 from bazineta/master
...
Support uint32 as flag type
2016-04-06 11:55:47 +01:00
Allan L. Bazinet
81d8a9234b
Correct FV_MAX_INDEX
2016-04-05 10:56:57 -07:00
Allan L. Bazinet
eaf05340dc
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.”
2016-04-05 10:50:21 -07:00
Andreas Schuh
74bcd20c0e
Merge PR #137 with change of SOVERSION to <major>.<minor>
2016-03-04 10:12:01 +00:00
Andreas Schuh
45341954bc
fix: Change SOVERSION to <major>.<minor> for 2.x release versions
2016-03-04 10:11:39 +00:00
Andreas Schuh
5e3070670f
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
2016-03-02 17:53:32 +00:00
Andreas Schuh
687b2c56d2
fix #133 : Use awk instead of sed which would require different options on OS X
2016-03-02 17:52:19 +00:00
Andreas Schuh
58441994df
Merge pull request #142 from schuhschuh/master
...
mod: Update doc with new find_package COMPONENTS or subproject use
2016-03-01 22:01:54 +00:00
Andreas Schuh
1c8285fd63
mod: Update doc with new find_package COMPONENTS or subproject use
2016-03-01 22:01:29 +00:00
Andreas Schuh
12d810d8e6
Merge pull request #141 from schuhschuh/master
...
Fix build of unit test on Ubuntu/Windows by changing include order
2016-03-01 21:35:48 +00:00
Andreas Schuh
389ef3f737
Merge branch 'master' of github.com:gflags/gflags
2016-03-01 21:34:32 +00:00
Andreas Schuh
752c63249b
fix: Include order of config.h and gflags.h in unit test
2016-03-01 21:34:24 +00:00
Andreas Schuh
f9e69b3531
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_".
2016-03-01 21:33:41 +00:00
Andreas Schuh
7a21c16f00
cmake: Rename targets to gflags[_nothreads]_(static|shared), support
...
find_package COMPONENTS
2016-03-01 21:04:10 +00:00
Andreas Schuh
a4382e5f37
cmake: Require CMake 2.8.12 in NC tests
2016-03-01 21:03:05 +00:00
Andreas Schuh
2de6bf3904
cmake: Change CMake package configuration variable name prefix to GFLAGS_
2016-03-01 20:12:34 +00:00
Andreas Schuh
91e16eeff1
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.
2016-03-01 20:12:34 +00:00
Andreas Schuh
b686469597
git: Add CMakeLists.txt.user Qt Creator configuration to ignore list
2016-03-01 20:10:22 +00:00
Andreas Schuh
e50698c200
Merge pull request #139 from schuhschuh/master
...
Fix compilation of unittest on Ubuntu
2016-03-01 19:59:53 +00:00
Andreas Schuh
18cb422451
fix: Require CMake version 2.8.12 in test project
2016-03-01 19:56:54 +00:00
Andreas Schuh
799e910c74
fix: Include private config.h in gflags_unittest.cc
2016-03-01 19:56:02 +00:00
Andreas Schuh
abe4b10c33
fix: Package URLs
2016-03-01 16:01:45 +00:00