Code Review
/
ric-plt
/
sdl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add Redis Sentinel based database discovery
[ric-plt/sdl.git]
/
Makefile.am
diff --git
a/Makefile.am
b/Makefile.am
index
c740aca
..
acd2cb6
100644
(file)
--- a/
Makefile.am
+++ b/
Makefile.am
@@
-117,6
+117,11
@@
libsdl_la_SOURCES += \
src/redis/hiredisclusterepolladapter.cpp \
src/redis/hiredisclustersystem.cpp
endif
src/redis/hiredisclusterepolladapter.cpp \
src/redis/hiredisclustersystem.cpp
endif
+if SENTINEL
+libsdl_la_SOURCES += \
+ include/private/redis/asyncsentineldatabasediscovery.hpp \
+ src/redis/asyncsentineldatabasediscovery.cpp
+endif
libsdl_la_CPPFLAGS = \
$(BASE_CPPFLAGS) \
$(HIREDIS_CFLAGS) \
libsdl_la_CPPFLAGS = \
$(BASE_CPPFLAGS) \
$(HIREDIS_CFLAGS) \
@@
-370,6
+375,10
@@
testrunner_SOURCES += \
tst/hiredisclusterepolladapter_test.cpp \
tst/hiredisclustersystem_test.cpp
endif
tst/hiredisclusterepolladapter_test.cpp \
tst/hiredisclustersystem_test.cpp
endif
+if SENTINEL
+testrunner_SOURCES += \
+ tst/asyncsentineldatabasediscovery_test.cpp
+endif
testrunner_CPPFLAGS = \
$(BASE_CPPFLAGS) \
-I$(top_srcdir)/3rdparty/googletest/googlemock/include \
testrunner_CPPFLAGS = \
$(BASE_CPPFLAGS) \
-I$(top_srcdir)/3rdparty/googletest/googlemock/include \