-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathjmri_libs.prf
132 lines (102 loc) · 4.56 KB
/
jmri_libs.prf
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
#
# common Jmri library definitions
#
# should be included in each module's .pro file
message(jmri_libs.prf: PWD = $$(PWD))
message(python.prf called by $${TARGET} $$(PWD))
equals($${TARGET}, JavaQt) {
message($${TARGET} ignoring self)
} else {
message($${TARGET} links to JavaQt)
win32:CONFIG(release, debug|release): LIBS += -L$$PWD/JavaQt/release/ -lJavaQt
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/JavaQt/debug/ -lJavaQt
else:unix:CONFIG(release, debug|release): LIBS += -L$$PWD/JavaQt/ -lJavaQt
else:unix:CONFIG(debug, debug|release): LIBS += -L$$PWD/JavaQt/ -lJavaQtd
message($${LIBS})
}
INCLUDEPATH += $$PWD/JavaQt
DEPENDPATH += $$PWD/JavaQt
equals($${TARGET}, appslib) {
message($${TARGET} ignoring self)
} else {
message($${TARGET} links to appslib)
win32:CONFIG(release, debug|release): LIBS += -L$$PWD/appslib/release/ -lappslib
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/appslib/debug/ -lappslib
else:unix:CONFIG(release, debug|release): LIBS += -L$$PWD/appslib/ -lappslib
else:unix:CONFIG(debug, debug|release): LIBS += -L$$PWD/appslib/ -lappslibd
}
INCLUDEPATH += $$PWD/appslib
DEPENDPATH += $$PWD/appslib
equals($${TARGET}, Pr3) {
message($${TARGET} ignoring self)
} else {
message($${TARGET} links to Pr3)
win32:CONFIG(release, debug|release): LIBS += -L$$PWD/libPr3/release/ -lPr3
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/libPr3/debug/ -lPr3
else:unix:CONFIG(release, debug|release): LIBS += -L$$PWD/libPr3 -lPr3
else:unix:CONFIG(debug, debug|release): LIBS += -L$$PWD/libPr3 -lPr3d
}
INCLUDEPATH += $$PWD/../libPr3 $$PWD/../libPr3/Roster $$PWD/../libPr3/Throttle \
$$PWD/../libPr3/loconet $$PWD/../libPr3/LocoIO $$PWD/../libPr3/Json \
$$PWD/../libPr3/WiThrottle $$PWD/../libPr3/Web $$PWD/../libPr3/Signal \
$$PWD/../libPr3/sprog $$PWD/../libPr3/loconet/HexFile
DEPENDPATH += $$PWD/../libPr3 $$PWD/../libPr3/Roster $$PWD/../libPr3/Throttle \
$$PWD/../libPr3/loconet $$PWD/../libPr3/LocoIO $$PWD/../libPr3/Json \
$$PWD/../libPr3/WiThrottle $$PWD/../libPr3/Web $$PWD/../libPr3/Signal \
$$PWD/../libPr3/sprog $$PWD/../libPr3/loconet/HexFile
equals($${TARGET}, LayoutEditor) {
message($${TARGET} ignoring self)
} else {
message($${TARGET} links to LayoutEditor)
win32:CONFIG(release, debug|release): LIBS += -L$$PWD/LayoutEditor/release/ -lLayoutEditor
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/LayoutEditor/debug/ -lLayoutEditor
else:unix:CONFIG(release, debug|release): LIBS += -L$$PWD/LayoutEditor/ -lLayoutEditor
else:unix:CONFIG(debug, debug|release): LIBS += -L$$PWD/LayoutEditor/ -lLayoutEditord
}
INCLUDEPATH += $$PWD/LayoutEditor
DEPENDPATH += $$PWD/LayoutEditor
equals($${TARGET}, Pref) {
message($${TARGET} ignoring self)
} else {
message($${TARGET} links to Pref)
win32:CONFIG(release, debug|release): LIBS += -L$$PWD/libPref/release/ -lPref
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/libPref/debug/ -lPref
else:unix:CONFIG(release, debug|release): LIBS += -L$$PWD/libPref/ -lPref
else:unix:CONFIG(debug, debug|release): LIBS += -L$$PWD/libPref/ -lPrefd
}
INCLUDEPATH += $$PWD/libPref
DEPENDPATH += $$PWD/libPref
equals($${TARGET}, Tables) {
message($${TARGET} ignoring self)
} else {
message($${TARGET} links to Tables)
win32:CONFIG(release, debug|release): LIBS += -L$$PWD/Tables/release/ -lTables
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/Tables/debug/ -lTables
else:unix:CONFIG(release, debug|release): LIBS += -L$$PWD/Tables/ -lTables
else:unix:CONFIG(debug, debug|release): LIBS += -L$$PWD/Tables/ -lTablesd
}
INCLUDEPATH += $$PWD/Tables
DEPENDPATH += $$PWD/Tables
equals($${TARGET}, LocoIO) {
message($${TARGET} ignoring self)
} else {
message($${TARGET} links to LocoIO)
win32:CONFIG(release, debug|release): LIBS += -L$$PWD/LocoIO/release/ -lLocoIO
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/LocoIO/debug/ -lLocoIO
else:unix:CONFIG(release, debug|release): LIBS += -L$$PWD/LocoIO/ -lLocoIO
else:unix:CONFIG(debug, debug|release): LIBS += -L$$PWD/LocoIO/ -lLocoIOd
}
INCLUDEPATH += $$PWD/LocoIO
DEPENDPATH += $$PWD/LocoIO
equals($${TARGET}, tests) {
message($${TARGET} ignoring self)
} else {
message($${TARGET} links to LocoIO)win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../tests/release/ -ltests
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../tests/debug/ -ltests
else:unix:CONFIG(release, debug|release): LIBS += -L$$PWD/../tests/ -ltests
else:unix:CONFIG(debug, debug|release): LIBS += -L$$PWD/../tests/ -ltestsd
}
INCLUDEPATH += $$PWD/../tests
DEPENDPATH += $$PWD/../tests
DISTFILES += \
scripts_config.prf