-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrrns_db.pro
More file actions
115 lines (101 loc) · 2.98 KB
/
Copy pathrrns_db.pro
File metadata and controls
115 lines (101 loc) · 2.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
#-------------------------------------------------
#
# Project created by QtCreator 2010-09-22T11:09:21
#
#-------------------------------------------------
message($$_PRO_FILE_)
QT -= gui
QT += core
test{
CONFIG += console
CONFIG -= app_bundle
TEMPLATE = app
TARGET = tests/rrns_db_ut
}
!test{
CONFIG -= console
TEMPLATE = lib
TARGET = lib/rrns_db
mac{
#need to make sure the generated dylib has the correct install name baked in
QMAKE_LFLAGS_SONAME = -install_name$${LITERAL_WHITESPACE}@executable_path/../lib/
}
}
MOC_DIR = mocs
OBJECTS_DIR = obj
DEFINES += RRNS_DB_LIBRARY
#headers that will always need a rebuild
INCLUDEPATH += . \
src \
src/rrns_db \
src/third_party \
src/third_party/credis \
src/third_party/gmock \
/usr/local/include/boost \
#headers that are reasonably stable
DEPENDPATH += . \
/usr/local/include \
#actual header/source files to build
HEADERS += \
src/rrns_db/IRedisConsumer.h \
src/rrns_db/IRedisConnector.h \
src/rrns_db/IRandomConsumer.h \
src/rrns_db/RandomConsumer.h \
src/rrns_db/RedisConsumer.h \
src/rrns_db/RedisDB_global.h \
src/rrns_db/RedisDB_Wrapper.h \
src/rrns_db/IKeyParser.h \
src/rrns_db/IKey.h \
src/rrns_db/ICredis.h \
src/rrns_db/CredisAdapter.h \
src/rrns_db/RedisConnector.h \
src/rrns_db/Key.h \
src/rrns_db/IKeyGenerator.h \
src/rrns_db/ScopedTemporaryKey.h \
src/rrns_db/MajorTypeKeyGenerator.h \
src/rrns_db/MinorTypeKeyGenerator.h \
src/rrns_db/DataKeyGenerator.h \
src/rrns_db/SeedKeyGenerator.h \
src/rrns_db/CutoffKeyGenerator.h \
\
src/third_party/credis/credis.h \
src/rrns_db/KeyParser.h
SOURCES += \
src/rrns_db/RandomConsumer.cpp \
src/rrns_db/RedisConsumer.cpp \
src/rrns_db/RedisDB_Wrapper.cpp \
src/rrns_db/CredisAdapter.cpp \
src/rrns_db/RedisConnector.cpp \
src/rrns_db/ScopedTemporaryKey.cpp \
src/rrns_db/MajorTypeKeyGenerator.cpp \
src/rrns_db/MinorTypeKeyGenerator.cpp \
src/rrns_db/DataKeyGenerator.cpp \
src/rrns_db/SeedKeyGenerator.cpp \
src/rrns_db/CutoffKeyGenerator.cpp \
\
src/third_party/credis/credis.c \
src/rrns_db/ut/ScopedKeyGenerator_UT.cpp \
src/rrns_db/KeyParser.cpp \
src/rrns_db/ut/KeyParser_UT.cpp
test{
HEADERS += \
src/rrns_db/ut/MockICredis.h \
src/rrns_db/ut/MockIRedisConnector.h \
src/rrns_db/ut/MockIRedisConsumer.h \
src/rrns_db/ut/MockIRandomConsumer.h \
src/rrns_db/ut/MockIKeyParser.h \
src/rrns_db/ut/MockIKey.h \
src/rrns_db/ut/MockIKeyGenerator.h \
\
src/third_party/gmock/gmock/gmock.h \
src/third_party/gmock/gtest/gtest.h \
SOURCES += \
src/rrns_db/ut/RedisConsumer_UT.cpp \
src/rrns_db/ut/RandomConsumer_UT.cpp \
src/rrns_db/ut/Main_UT.cpp \
\
src/third_party/gmock/gmock-gtest-all.cc \
}
#Google logging framework
LIBS += -L/usr/local/lib
LIBS += -lglog