forked from liseen/qfocused-crawler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
qcrawler.pro
60 lines (53 loc) · 1.65 KB
/
qcrawler.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
TEMPLATE = app
SOURCES +=\
src/qcrawler_robots.cpp\
src/qcrawler.cpp\
src/main.cpp\
src/qcrawler_get_task.cpp\
src/qcrawler_webpage.cpp\
src/qcrawler_kit_parser.cpp\
src/qcrawler_common.cpp\
src/qcrawler_util.cpp\
src/qcrawler_processor.cpp\
src/qcrawler_db.cpp\
src/qcrawler_url_queue.cpp\
src/qcrawler_central_queue.cpp\
src/qcrawler_storage_record.cpp\
src/qcrawler_focus_filter.cpp\
src/qcrawler_config.cpp\
src/qcrawler_freq_control.cpp\
src/qcrawler_url.cpp\
src/qcrawler_simple_extractor.cpp\
src/qcrawler_record.cpp
HEADERS +=\
src/qcrawler_storage_record.h\
src/qcrawler_util.h\
src/qcrawler_webpage.h\
src/qcrawler_freq_control.h\
src/qcrawler_db.h\
src/qcrawler_url_queue.h\
src/qcrawler_central_queue.h\
src/qcrawler_config.h\
src/qcrawler_processor.h\
src/qcrawler_kit_parser.h\
src/qcrawler_get_task.h\
src/qcrawler.h\
src/qcrawler_eventloop.h\
src/qcrawler_focus_filter.h\
src/qcrawler_sleep.h\
src/qcrawler_url.h\
src/qcrawler_record.h\
src/qcrawler_simple_extractor.h\
src/qcrawler_common.h
INCLUDEPATH = /opt/qcrawler-thirdparty/include
LIBS = -L/opt/qcrawler-thirdparty/lib -L/usr/local/lib -lprotobuf -ltokyotyrant -ltokyocabinet -lz -lbz2 -lresolv -lnsl -ldl -lrt -lpthread -lm -lc -lmemcached -lurlqueue
QMAKE_RPATHDIR = /opt/qcrawler-thirdparty/lib $$QMAKE_RPATHDIR
QT += network webkit testlib
CONFIG += release
OUTPUT_DIR = /opt/qcrawler
target.path=$$OUTPUT_DIR/bin
target.files=./qcrawler bin/*
INSTALLS += target
configuration.path=$$OUTPUT_DIR/etc
configuration.files=etc/*
INSTALLS += configuration