m
e38cd75562
CMake: Minor modernization
...
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-01 11:54:37 +02:00
m
dc6d19b9ec
Port network layer to Winsock
...
With this change, Hiredis builds with MinGW and runs on Windows.
2019-04-01 11:54:37 +02:00
Mark Nunberg
792bdbab7e
cmake: ssl disabled by default
2019-02-21 12:04:53 -05:00
Mark Nunberg
0bc2356ed5
CMake: update for SSL
2019-02-20 09:11:10 -05:00
Justin Brewer
ebe1657c8f
Obey HIREDIS_SONAME for shared library
...
Signed-off-by: Justin Brewer <jzb0012@auburn.edu>
2019-02-20 05:01:09 -05:00
Justin Brewer
7d38176bdb
Call project() with parsed version string
...
Signed-off-by: Justin Brewer <jzb0012@auburn.edu>
2019-02-20 05:01:09 -05:00
Justin Brewer
58d0e28333
Enable make test
...
Signed-off-by: Justin Brewer <jzb0012@auburn.edu>
2019-02-20 05:01:09 -05:00
Justin Brewer
9ea7ddec0c
Generate and install hiredis.pc
...
Signed-off-by: Justin Brewer <jzb0012@auburn.edu>
2019-02-20 05:01:09 -05:00
Justin Brewer
edfab35cdc
Install async.h
...
Signed-off-by: Justin Brewer <jzb0012@auburn.edu>
2019-02-20 05:01:08 -05:00
Justin Brewer
0c57a083c7
Add ENABLE_EXAMPLES option, off by default
...
Signed-off-by: Justin Brewer <jzb0012@auburn.edu>
2019-02-20 05:01:08 -05:00
Mark Nunberg
bbad21f5ca
Add examples to CMakeLists
2019-02-20 05:01:08 -05:00
Mark Nunberg
ead586a2cb
Add CMake system. Initial commit
...
This provides a target to build a DSO, as well as the ability to install
it.
2019-02-20 05:01:08 -05:00