-
Notifications
You must be signed in to change notification settings - Fork 211
/
with_all_libs.pri
90 lines (68 loc) · 2.1 KB
/
with_all_libs.pri
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
INCLUDEPATH += $$RBA_INC $$PYA_INC $$TL_INC $$GSI_INC $$DB_INC $$RDB_INC $$LYM_INC $$LAYBASIC_INC $$LAYVIEW_INC $$ANT_INC $$IMG_INC $$EDT_INC $$LIB_INC $$VERSION_INC
DEPENDPATH += $$RBA_INC $$PYA_INC $$TL_INC $$GSI_INC $$DB_INC $$RDB_INC $$LYM_INC $$LAYBASIC_INC $$LAYVIEW_INC $$ANT_INC $$IMG_INC $$EDT_INC $$LIB_INC $$VERSION_INC
LIBS += "$$PYTHONLIBFILE" "$$RUBYLIBFILE" -L$$DESTDIR -lklayout_tl -lklayout_gsi -lklayout_db -lklayout_rdb -lklayout_lym -lklayout_laybasic -lklayout_layview -lklayout_ant -lklayout_img -lklayout_edt -lklayout_lib
!equals(HAVE_QT, "0") {
INCLUDEPATH += $$LAYUI_INC $$LAY_INC
DEPENDPATH += $$LAYUI_INC $$LAY_INC
LIBS += -L$$DESTDIR -lklayout_layui -lklayout_lay
equals(HAVE_QTBINDINGS, "1") {
LIBS += -lklayout_qtbasic -lklayout_QtGui -lklayout_QtCore
}
}
equals(HAVE_RUBY, "1") {
LIBS += -lklayout_rba
} else {
LIBS += -lklayout_rbastub
}
equals(HAVE_PYTHON, "1") {
LIBS += -lklayout_pya
} else {
LIBS += -lklayout_pyastub
}
equals(HAVE_QTBINDINGS, "1") {
LIBS += -lklayout_qtbasic -lklayout_QtGui
!equals(HAVE_QT_XML, "0") {
LIBS += -lklayout_QtXml
}
!equals(HAVE_QT_NETWORK, "0") {
LIBS += -lklayout_QtNetwork
}
!equals(HAVE_QT_SQL, "0") {
LIBS += -lklayout_QtSql
}
!equals(HAVE_QT_DESIGNER, "0") {
LIBS += -lklayout_QtDesigner
}
!equals(HAVE_QT_UITOOLS, "0") {
LIBS += -lklayout_QtUiTools
}
greaterThan(QT_MAJOR_VERSION, 4) {
LIBS += -lklayout_QtWidgets
!equals(HAVE_QT_MULTIMEDIA, "0") {
LIBS += -lklayout_QtMultimedia
}
!equals(HAVE_QT_PRINTSUPPORT, "0") {
LIBS += -lklayout_QtPrintSupport
}
!equals(HAVE_QT_SVG, "0") {
LIBS += -lklayout_QtSvg
}
!equals(HAVE_QT_XML, "0") {
LIBS += -lklayout_QtXmlPatterns
}
}
greaterThan(QT_MAJOR_VERSION, 5) {
LIBS += -lklayout_QtCore5Compat
LIBS -= -lklayout_QtXmlPatterns
LIBS -= -lklayout_QtDesigner
}
}
equals(HAVE_RUBY, "1") {
# DRC is only available with Ruby
INCLUDEPATH += $$DRC_INC $$LVS_INC
DEPENDPATH += $$DRC_INC $$LVS_INC
LIBS += -lklayout_drc -lklayout_lvs
}
msvc {
LIBS += user32.lib
}