OSDN Git Service

.gitignore
[wordring-tm/wordring-tm.git] / proxy / proxy.pro
1 #-------------------------------------------------
2 #
3 # Project created by QtCreator 2015-06-21T11:50:22
4 #
5 #-------------------------------------------------
6
7 QT       += core gui widgets network xml websockets sql
8
9 TARGET = proxy
10 TEMPLATE = app
11
12 CONFIG += c++11
13
14 SOURCES += main.cpp\
15         mainwindow.cpp \
16         tmhttp.cpp \
17         tmservice.cpp \
18         tmsocket.cpp \
19         textwidget.cpp \
20         tmtext.cpp \
21         tmdatabase.cpp \
22         tmcandidatewidget.cpp \
23         tmeditorwidget.cpp
24
25 HEADERS  += mainwindow.h \
26         tmhttp.h \
27         tmservice.h \
28         tmsocket.h \
29         textwidget.h \
30         tmtext.h \
31         tmdatabase.h \
32         tmcandidatewidget.h \
33         tmeditorwidget.h
34
35 DEFINES += PROXYSRCDIR=\\\"$$PWD\\\"
36 #INCLUDEPATH += $$PWD/../language
37
38 RESOURCES += \
39         proxy.qrc
40
41 DISTFILES +=
42
43 # HTTP
44 win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../http/release/ -lhttp
45 else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../http/debug/ -lhttp
46 else:unix: LIBS += -L$$OUT_PWD/../http/ -lhttp
47
48 INCLUDEPATH += $$PWD/../http
49 DEPENDPATH += $$PWD/../http
50
51 win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../http/release/libhttp.a
52 else:win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../http/debug/libhttp.a
53 else:win32:!win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../http/release/http.lib
54 else:win32:!win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../http/debug/http.lib
55 else:unix: PRE_TARGETDEPS += $$OUT_PWD/../http/libhttp.a
56
57 # Utility
58 win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../utility/release/ -lutility
59 else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../utility/debug/ -lutility
60 else:unix: LIBS += -L$$OUT_PWD/../utility/ -lutility
61
62 INCLUDEPATH += $$PWD/../utility
63 DEPENDPATH += $$PWD/../utility
64
65 # HTML
66 win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../html/release/ -lhtml
67 else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../html/debug/ -lhtml
68 else:unix: LIBS += -L$$OUT_PWD/../html/ -lhtml
69
70 INCLUDEPATH += $$PWD/../html
71 DEPENDPATH += $$PWD/../html
72
73 win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../html/release/libhtml.a
74 else:win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../html/debug/libhtml.a
75 else:win32:!win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../html/release/html.lib
76 else:win32:!win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../html/debug/html.lib
77 else:unix: PRE_TARGETDEPS += $$OUT_PWD/../html/libhtml.a
78
79 # Tidy
80 win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../third-party/lib/ -ltidy5
81 else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../third-party/lib/ -ltidy5
82 else:unix: LIBS += -L$$PWD/../third-party/lib/ -ltidy5
83
84 INCLUDEPATH += $$PWD/../third-party/include
85 DEPENDPATH += $$PWD/../third-party/include
86
87 # Language
88 win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../languages/language/release/ -llanguage
89 else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../languages/language/debug/ -llanguage
90 else:unix: LIBS += -L$$OUT_PWD/../languages/language/ -llanguage
91
92 INCLUDEPATH += $$PWD/../languages/language
93 DEPENDPATH += $$PWD/../languages/language
94
95 win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../languages/language/release/liblanguage.a
96 else:win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../languages/language/debug/liblanguage.a
97 else:win32:!win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../languages/language/release/language.lib
98 else:win32:!win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../languages/language/debug/language.lib
99 else:unix: PRE_TARGETDEPS += $$OUT_PWD/../languages/language/liblanguage.a
100