summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
AgeCommit message (Collapse)AuthorFilesLines
2017-09-01enh: Move CMake defines to separate header, unused by BazelAndreas Schuh1-0/+1
This change avoids having to configure a private .h.in file during the Bazel build such that these files are not available to dependent projects in the GENDIR of the external gflags project.
2017-07-11cmake: Add convenience uninstall target (#221)Jason Juang1-0/+8
Note: Leaves behind empty directories, no real uninstaller. Just for convenience of some.
2017-07-11Release v2.2.1Andreas Schuh1-1/+1
2017-07-11fix: Check HAVE_STDINT_H or HAVE_INTTYPES_H for older MSVC versionsAndreas Schuh1-5/+15
2017-05-11Install dll's to correct path (#213)Arkady Shapkin1-6/+14
2016-11-26fix: Enable language C for older CMake versions when needed (#196)Andreas Schuh1-4/+4
* fix: Enable language C for older CMake versions when needed * fix: Don’t care about buggy Android toolchain
2016-11-26fix: Include utils by file instead of CMAKE_MODULE_PATH searchAndreas Schuh1-2/+1
2016-11-25Revert "enh: Rename private sources, include public headers with rel path"Andreas Schuh1-2/+2
2016-11-25enh: Rename private sources, include public headers with rel pathAndreas Schuh1-2/+2
2016-11-25enh: Configure and install pkg-config .pc fileAndreas Schuh1-7/+16
2016-11-25enh: Set GFLAGS_IS_A_DLL in INTERFACE_COMPILE_DEFINITIONSAndreas Schuh1-18/+18
2016-11-24fix: Ensure installation path uses forward slashesAndreas Schuh1-0/+5
2016-11-24enh: Add option to add installation to CMake’s package registryAndreas Schuh1-1/+8
2016-11-24enh: Avoid use of install(EXPORTS) FILE optionAndreas Schuh1-4/+5
2016-03-04fix: Change SOVERSION to <major>.<minor> for 2.x release versionsAndreas Schuh1-1/+6
2016-03-01cmake: Rename targets to gflags[_nothreads]_(static|shared), supportAndreas Schuh1-14/+24
find_package COMPONENTS
2016-03-01cmake: Add CMake variable to cache only when gflags is not a subprojectAndreas Schuh1-92/+224
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-01fix: Package URLsAndreas Schuh1-2/+2
2016-02-29cmake: Clean up static library filename suffix code from PR #126Andreas Schuh1-10/+7
2016-02-29Merge pull request #126 from hevy-CC4477/masterAndreas Schuh1-2/+11
Use ```_static``` suffix in filename of static library on Windows to distinguish it from the import library.
2016-02-27properly export the .so minor versionEvan Klitzke1-1/+1
2016-01-29Define NO_THREADS in when building without threadsSam Clegg1-1/+1
Previously NOTHREADS was being defined but the code in mutex.h checks for NO_THREADS.
2015-11-05handle generation of dynamic and static library on windows.Arnaud Farbos1-2/+11
2015-04-03#113 Require CMake >= 2.8.12Andreas Schuh1-17/+8
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.
2015-03-25#106 Add test of gflags-config.cmake package configurationAndreas Schuh1-2/+0
2015-03-24#104 Fix library include directories settingsAndreas Schuh1-6/+5
2015-03-24fixup: Package configurationAndreas Schuh1-2/+2
2015-03-24fix: Extension of README file for PackageMakerAndreas Schuh1-2/+5
2015-03-24#101 Enable C language again as long as FindThreads requires itAndreas Schuh1-1/+9
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.
2015-03-24cmake: Set version of master branch to next release versionAndreas Schuh1-1/+1
2015-03-24#104 Set INTERFACE_INCLUDE_DIRECTORIES of (imported) targetsAndreas Schuh1-25/+41
2015-03-24fix: File paths and package URLsAndreas Schuh1-5/+5
2015-03-24#103 Silence CMake warning regarding CMP0042 (MACOS_RPATH)Andreas Schuh1-0/+4
2015-03-24cmake: Add advanced cache entries for GFLAGS_NAMESPACE and GFLAGS_INCLUDE_DIRAndreas Schuh1-2/+4
2014-07-17cmake: Do not cache GFLAGS_NAMESPACE and GFLAGS_INCLUDE_DIR.Andreas Schuh1-4/+6
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.
2014-07-17Change default GFLAGS_NAMESPACE to "google;gflags" and add ↵Andreas Schuh1-2/+3
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.
2014-05-02Support alternative namespaces in GFLAGS_NAMESPACE CMake variable.Andreas Schuh1-9/+36
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.
2014-05-02Use major version number only as SOVERSION.Andreas Schuh1-5/+4
2014-05-01Set VERSION property of library targets to <major>.<minor>.Andreas Schuh1-0/+5
2014-05-01Use LIB_INSTALL_DIR to initialize LIBRARY_INSTALL_DIR.Andreas Schuh1-5/+8
In particular the Fedora package maintainers pass LIB_INSTALL_DIR instead of LIBRARY_INSTALL_DIR.
2014-05-01Make LIBRARY_INSTALL_DIR configurable by the user.Andreas Schuh1-2/+8
2014-05-01cmake: append LIB_SUFFIX to LIBRARY_INSTALL_DIRJohn Khvatov1-2/+2
2014-03-30Set CPACK_PACKAGE_ARCHITECTURE to darwin on Mac OS.Andreas Schuh1-0/+2
2014-03-30Bump version to 2.1.1.Andreas Schuh1-1/+1
2014-03-27Add GFLAGS_INCLUDE_DIR CMake variable (Fixes issue #80).Andreas Schuh1-3/+12
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.
2014-03-25Use GFLAGS_IS_A_DLL=1 in public headers if BUILD_SHARED_LIBS is enabled ↵Andreas Schuh1-0/+9
(Fixes issue #77).
2014-03-20Resolve conflicts upon pull.Andreas Schuh1-6/+7
2014-03-20Set package architecture to i386 when compiling with -m32.Andreas Schuh1-0/+19
2014-03-20Fix architecture used for RPM packages and DEB/RPM package file names.Andreas Schuh1-5/+21
2014-03-20Change version to 2.1.0, i.e., use common semantic versioning system ↵Andreas Schuh1-1/+1
including patch number for bug fix releases.