-
Notifications
You must be signed in to change notification settings - Fork 211
/
Copy pathklayout.pro
134 lines (100 loc) · 2.06 KB
/
klayout.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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
include(klayout.pri)
TEMPLATE = subdirs
SUBDIRS = \
tl \
gsi \
db \
rdb \
lib \
plugins \
unit_tests \
buddies \
lym \
laybasic \
layview \
ant \
img \
edt \
equals(HAVE_RUBY, "1") {
SUBDIRS += drc lvs
}
!equals(HAVE_QT, "0") {
SUBDIRS += \
klayout_main \
lay \
layui \
fontgen \
doc \
icons \
}
LANG_DEPENDS =
MAIN_DEPENDS =
equals(HAVE_RUBY, "1") {
SUBDIRS += rba
LANG_DEPENDS += rba
rba.depends += gsi db
} else {
SUBDIRS += rbastub
rbastub.depends += gsi
LANG_DEPENDS += rbastub
}
equals(HAVE_PYTHON, "1") {
SUBDIRS += pya
LANG_DEPENDS += pya
pya.depends += gsi db
SUBDIRS += pymod
pymod.depends += pya
} else {
SUBDIRS += pyastub
pyastub.depends += gsi
LANG_DEPENDS += pyastub
}
gsi.depends += tl
db.depends += gsi
rdb.depends += db
lib.depends += db
lym.depends += gsi $$LANG_DEPENDS
laybasic.depends += rdb
layview.depends += laybasic
ant.depends += layview
img.depends += layview
edt.depends += layview
plugins.depends += lib
equals(HAVE_PYTHON, "1") {
pymod.depends += layview lib ant img edt lym
}
equals(HAVE_RUBY, "1") {
MAIN_DEPENDS += drc lvs
drc.depends += rdb lym
lvs.depends += drc
buddies.depends += drc lvs
}
!equals(HAVE_QT, "0") {
equals(HAVE_PYTHON, "1") {
pymod.depends += lay
}
equals(HAVE_QTBINDINGS, "1") {
SUBDIRS += gsiqt
gsiqt.depends += gsi db
laybasic.depends += gsiqt
equals(HAVE_PYTHON, "1") {
pymod.depends += gsiqt
}
}
layui.depends += laybasic
layview.depends += layui
lay.depends += ant img edt layui lym
plugins.depends += lay
klayout_main.depends += doc icons plugins $$MAIN_DEPENDS
} else {
plugins.depends += layview ant img edt
}
buddies.depends += plugins lym $$LANG_DEPENDS
unit_tests.depends += plugins lym $$MAIN_DEPENDS $$LANG_DEPENDS
!equals(HAVE_QT, "0") {
unit_tests.depends += doc icons
}
# Adds an extra target for generating the doc: "update_doc"
update_doc.commands = $$PWD/../scripts/make_drc_lvs_doc.sh
update_doc.depends = klayout_main
QMAKE_EXTRA_TARGETS += update_doc