-
Notifications
You must be signed in to change notification settings - Fork 6
/
qDesktopSearch.pro
115 lines (101 loc) · 2.57 KB
/
qDesktopSearch.pro
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
QT += core gui network
#does not work on win
#QT += androidextras
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = qDesktopSearch
TEMPLATE = app
CONFIG(debug, debug|release) {
DEFINES += _DEBUG
DEFINES += DEBUG
}
#would be cool if my libs would also be compiled with this flag
#DEFINES += _ATL_XP_TARGETING
#avoid zlib warnings
DEFINES += _CRT_SECURE_NO_WARNINGS
#make clucene faster
DEFINES += _REENTRANT
DEFINES += NOMINMAX
DEFINES += WIN32_LEAN_AND_MEAN
DEFINES += WIN64_LEAN_AND_MEAN
DEFINES += MAKE_CLUCENE_SHARED_LIB
#//TODO: activate & config for porterStemmer
#DEFINES += _MBCS
#DEFINES += _UNICODE
include(qDesktopSearch_3rdparty_clucene.pri)
include(qDesktopSearch_3rdparty_qt-solutions.pri)
SOURCES += main.cpp \
mainwindow.cpp \
wsearch.cpp \
wsettings.cpp \
cfg.cpp \
emitter.cpp \
logger.cpp \
logwnd.cpp \
util/str.cpp \
wsearch/wsearchresultmodel.cpp \
indexer/indexer.cpp \
indexer/indexerthread.cpp \
indexer/indexerworker.cpp \
indexer/jvm.cpp \
lucy/lucy.cpp \
lucy/lucyindexer.cpp \
lucy/lucysearcher.cpp \
searcher/searcher.cpp \
searcher/seacherHighlightFormatter.cpp \
searcher/wsearchitemdelegate.cpp \
wsettings/wsettingdirs2indexmodel.cpp \
util/f.cpp \
wsearch/wfieldsmodel.cpp \
wsettings/tray.cpp \
util/balloon.cpp \
indexer/idxinfo.cpp \
lucy/QTokenizer.cpp \
lucy/QSimpleAnalyzer.cpp \
lucy/QStandardAnalyzer.cpp \
lucy/QStandardTokenizer.cpp \
lucy/qindexmodifier.cpp
HEADERS += mainwindow.h \
wsearch.h \
wsettings.h \
res.rc \
resource.h \
cfg.h \
emitter.h \
logger.h \
logwnd.h \
util/str.h \
wsearch/wsearchresultmodel.h \
indexer/indexer.h \
indexer/indexerthread.h \
indexer/indexerworker.h \
indexer/jvm.h \
lucy/lucy.h \
lucy/lucyindexer.h \
lucy/lucysearcher.h \
searcher/searcher.h \
searcher/seacherHighlightFormatter.h \
globalinclude.h \
searcher/wsearchitemdelegate.h \
wsettings/wsettingdirs2indexmodel.h \
util/f.h \
wsearch/wfieldsmodel.h \
wsettings/tray.h \
util/balloon.h \
indexer/idxinfo.h \
lucy/QTokenizer.h \
lucy/QSimpleAnalyzer.h \
lucy/QStandardAnalyzer.h \
lucy/QStandardTokenizer.h \
lucy/qindexmodifier.h
FORMS += mainwindow.ui \
wsearch.ui \
wsettings.ui
RESOURCES += res.qrc
DISTFILES += ico.ico
RC_FILE = res.rc
INCLUDEPATH += ./lucy
INCLUDEPATH += ./indexer
INCLUDEPATH += ./searcher
INCLUDEPATH += ./wsearch
INCLUDEPATH += ./wsettings
INCLUDEPATH += ./util