Commit graph

102 commits

Author SHA1 Message Date
Andreas Schuh
1b1b61d305 Fix previous change of FindThreadsCxx.cmake by copying needed source file from CMake installation, changing the file name extension only. 2014-03-17 12:38:41 +00:00
Andreas Schuh
c5627a75bc Use CheckForPthreads.cxx to find pthreads library on Ubuntu. 2014-03-17 12:35:28 +00:00
Andreas Schuh
6e4c22e982 Merge pull request #7 from andy-held/cmake-migration
Fix case in CMake module includes.
2014-03-17 12:16:26 +00:00
Andreas Franek
f479174573 * fixed letter case of included file names
* C language definition is needed for CheckForPthreads.c
2014-03-17 09:38:15 +01:00
Andreas Schuh
a4c4a01a37 Check if pthread_rwlock_t is available and use it if so. 2014-03-15 14:31:21 +00:00
Andreas Schuh
8477f3174e Fix build with Xcode 5, system checks, set LANGUAGE to CXX. 2014-03-15 14:15:33 +00:00
Andreas Schuh
f0f565fb0f Remove obsolete gflags_unittest.sh script. 2014-03-14 20:34:30 +00:00
Andreas Schuh
8a563cfca3 Migrate unit tests to CMake/CTest. Fix preprocessor directive in gflags_unittest.cc. 2014-03-14 20:32:37 +00:00
Andreas Schuh
15bc2d6c15 Issue #73 Merge gflags_config.h into gflags_declare.h. Configuration of gflags.h no longer needed. 2014-03-14 16:29:51 +00:00
Andreas Schuh
70eac23c1b Issue #73 Fix missing STL DLL export warnings of Visual Studio according to KB168958. 2014-03-14 16:08:52 +00:00
Andreas Schuh
b2180eb52c Fix build on Windows using Visual Studio. Add gflags_config.h. 2014-03-14 15:28:34 +00:00
Andreas Schuh
efc6908bce Add header files to add_library targets so they show up in IDEs. 2014-03-14 13:29:11 +00:00
Andreas Schuh
0c65228956 Minor update of README. 2013-11-06 20:56:03 +00:00
Andreas Schuh
3900860906 Ignore .DS_Store files of OS X. 2013-11-05 12:09:52 +00:00
Andreas Schuh
01d810e3c0 Be more specific about what to ignore. 2013-11-05 12:03:29 +00:00
Andreas Schuh
48316bd345 Merge pull request #3 from dominichamon/cmake-migration
Adding gitignore for generated files
2013-11-05 03:56:17 -08:00
Andreas Schuh
27c0c9ef79 Merge pull request #4 from daniperez/cmake-migration
Exporting binary tree to CMake registry
2013-11-04 16:56:31 -08:00
Dani Perez
459e529168 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.
2013-10-22 23:03:27 +02:00
Dominic Hamon
99f52df612 Adding gitignore for generated files 2013-09-20 14:14:23 -07:00
Andreas Schuh
667c52be59 Remove reference to README_windows. 2013-08-01 03:53:59 +01:00
Andreas Schuh
3c0cd06b6d Document finding and linking to gflags using CMake. 2013-08-01 03:46:29 +01:00
Andreas Schuh
1c9f065dd0 Add negative compilation tests. 2013-08-01 03:31:47 +01:00
Andreas Schuh
7abcbdcbbd Add gflags library which is built with NO_THREADS definition. 2013-08-01 02:04:37 +01:00
Andreas Schuh
ac3cb02be8 Add missing unittest2 and unittest3 executables. 2013-08-01 01:59:32 +01:00
Andreas Schuh
126f36b826 Enable build and execution of tests again using CTest. 2013-08-01 01:47:13 +01:00
Andreas Schuh
620557ccbc Install Bash completion script. 2013-08-01 01:06:36 +01:00
Andreas Schuh
5564469b96 Give basic CMake based build instructions in INSTALL file. 2013-08-01 00:52:46 +01:00
Andreas Schuh
7a07439cf6 Set PACKAGE_VERSION_EXACT to FALSE if major.minor version is not equal to the requested version. 2013-08-01 00:27:40 +01:00
Andreas Schuh
2ec91bffad Move definition of configure_sources CMake function to utils module. 2013-08-01 00:17:53 +01:00
Andreas Schuh
ffbc1cea57 Use gflags as target name instead of PACKAGE_NAME to not make things unnecessarily generic. 2013-08-01 00:17:13 +01:00
Andreas Schuh
6ec7d7f81e Fix relative path to installation prefix in CMake config file. 2013-08-01 00:10:15 +01:00
Andreas Schuh
43a33dcd53 Install CMake config file inside lib/ directory on Unix. 2013-08-01 00:01:21 +01:00
Andreas Schuh
42a0018843 Configure and install CMake package configuration file to help find_package locate the gflags package. 2013-07-31 23:55:50 +01:00
Andreas Schuh
6f2a78a26f Fix configuration on Windows and add src directory to include path. 2013-05-22 11:02:04 +01:00
Andreas Schuh
4eb2cb223b Add missing windows portability definitions. 2013-05-22 00:06:08 +01:00
Andreas Schuh
f7e89ba9ea Move public header files to src/ subdirectory. Copy them to <prefix>/include/<ns>/ upon installation. 2013-04-21 03:38:25 +01:00
Andreas Schuh
3624d33ae5 Set CMAKE_BUILD_TYPE to Release by default. Require CMake >=2.8. 2013-04-21 03:09:43 +01:00
Andreas Schuh
392eb67dbf Add CMakeLists.txt and adapt source files accordingly. 2013-04-21 03:05:35 +01:00
Andreas Schuh
2eed08d94a Move public header files to separate subdirectory. 2013-04-21 00:11:52 +01:00
Andreas Schuh
5ed8ae17a9 Remove build tool related files, operating system packages, and move unit tests to separate subdirectory. 2013-04-21 00:06:37 +01:00
Andreas Schuh
4328de857d Update NEWS: Git repository hosted on GitHub.
git-svn-id: https://gflags.googlecode.com/svn/trunk@84 6586e3c6-dcc4-952a-343f-ff74eb82781d
2013-04-20 22:49:37 +00:00
Andreas Schuh
dba41e672c Test commit via git-svn, only adding blank lines to NEWS.
git-svn-id: https://gflags.googlecode.com/svn/trunk@83 6586e3c6-dcc4-952a-343f-ff74eb82781d
2013-04-20 22:14:36 +00:00
Andreas Schuh
45a53dea87 Add DEFINE_validator macro for convenient registration of a flag validator.
git-svn-id: https://gflags.googlecode.com/svn/trunk@82 6586e3c6-dcc4-952a-343f-ff74eb82781d
2013-04-20 18:35:34 +00:00
Andreas Schuh
8011f61247 Use static_cast to avoid comparison of signed and unsigned integer warning in util.h.
git-svn-id: https://gflags.googlecode.com/svn/trunk@81 6586e3c6-dcc4-952a-343f-ff74eb82781d
2013-01-14 15:11:53 +00:00
Andreas Schuh
f098a54822 Fix deprecation warnings of VC++ regarding strdup and unlink. Add solution files for VS 2010 and VS 2012.
git-svn-id: https://gflags.googlecode.com/svn/trunk@80 6586e3c6-dcc4-952a-343f-ff74eb82781d
2012-11-20 14:48:22 +00:00
Andreas Schuh
1235a6d519 Add "build/" subdirectory to ignore list.
git-svn-id: https://gflags.googlecode.com/svn/trunk@79 6586e3c6-dcc4-952a-343f-ff74eb82781d
2012-11-11 20:33:21 +00:00
Andreas Schuh
6b215b0a3a Use project name (gflags) within include guards to avoid conflict with gperftools as reported by chen3feng (issue #62, http://code.google.com/p/gflags/issues/detail?id=62).
git-svn-id: https://gflags.googlecode.com/svn/trunk@78 6586e3c6-dcc4-952a-343f-ff74eb82781d
2012-11-11 20:32:35 +00:00
Andreas Schuh
e88280ed85 Fix "invalid suffix on literal; C++11 requires a space between literal and identifier" errors as reported by http://code.google.com/p/gflags/issues/detail?id=54.
git-svn-id: https://gflags.googlecode.com/svn/trunk@77 6586e3c6-dcc4-952a-343f-ff74eb82781d
2012-05-29 15:19:11 +00:00
Craig Silverstein
8306eef3ec Fixed a typo in the email address.
git-svn-id: https://gflags.googlecode.com/svn/trunk@76 6586e3c6-dcc4-952a-343f-ff74eb82781d
2012-02-02 22:49:44 +00:00
Craig Silverstein
f18772936d Wed Jan 25 15:09:14 2012 Google Inc. <google-gflags@googlegroups.com>
* gflags: version 2.0
	* Changed the 'official' gflags email in setup.py/etc
	* Renamed google-gflags.sln to gflags.sln
	* Changed copyright text to reflect Google's relinquished ownership


git-svn-id: https://gflags.googlecode.com/svn/trunk@74 6586e3c6-dcc4-952a-343f-ff74eb82781d
2012-01-25 23:59:40 +00:00