summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
AgeCommit message (Collapse)Author
2020-01-28Safe allocation wrappers (#754)Michael Grunder
Create allocation wrappers with a configurable OOM handler (defaults to abort()). See #752, #747
2019-11-03Adding an option to DISABLE_TESTSPaul Botros
Useful when hiredis is used as a CMake dependency in other projects and added via add_subdirectory(). With DISABLE_TESTS on, `make test` in the parent project won't run hiredis tests.
2019-09-01Update CMakelists for hiredis/hiredis_ssl builds.Yossi Gottlieb
Also rename the SSL option from `HIREDIS_SSL` to `ENABLE_SSL` to conform with CMake convnetions.
2019-08-29Update CMakeLists with sslio.c rename.Yossi Gottlieb
2019-07-17Add install adapters header fileskevin1018
2019-04-01CMake: Minor modernizationm
Rely more on transitive dependencies, as provided by TARGET_LINK_LIBRARIES. Avoid using ADD_DEFINITIONS and INCLUDE_DIRECTORIES. This avoids leakage/pollution of defines and includes.
2019-04-01Port network layer to Winsockm
With this change, Hiredis builds with MinGW and runs on Windows.
2019-02-21cmake: ssl disabled by defaultMark Nunberg
2019-02-20CMake: update for SSLMark Nunberg
2019-02-20Obey HIREDIS_SONAME for shared libraryJustin Brewer
Signed-off-by: Justin Brewer <jzb0012@auburn.edu>
2019-02-20Call project() with parsed version stringJustin Brewer
Signed-off-by: Justin Brewer <jzb0012@auburn.edu>
2019-02-20Enable make testJustin Brewer
Signed-off-by: Justin Brewer <jzb0012@auburn.edu>
2019-02-20Generate and install hiredis.pcJustin Brewer
Signed-off-by: Justin Brewer <jzb0012@auburn.edu>
2019-02-20Install async.hJustin Brewer
Signed-off-by: Justin Brewer <jzb0012@auburn.edu>
2019-02-20Add ENABLE_EXAMPLES option, off by defaultJustin Brewer
Signed-off-by: Justin Brewer <jzb0012@auburn.edu>
2019-02-20Add examples to CMakeListsMark Nunberg
2019-02-20Add CMake system. Initial commitMark Nunberg
This provides a target to build a DSO, as well as the ability to install it.