@@ -1,150 +1,150 | |||
|
1 | 1 | SOCEXPLORER_ROOT = \"$${PWD}/../..\" |
|
2 | 2 | include($${PWD}/../../build_cfg/socexplorer.pri) |
|
3 | 3 | include($${PWD}/lppserial/lppserial.pri) |
|
4 | 4 | |
|
5 | 5 | TEMPLATE = lib |
|
6 | 6 | TARGET = socexplorercommon$${DEBUG_EXT} |
|
7 | 7 | |
|
8 | 8 | win32:CONFIG += dll |
|
9 | 9 | win32:CONFIG -= static |
|
10 | 10 | |
|
11 | 11 | win32:INCLUDEPATH += $${PWD}/genericBinaryFiles/elf/libelfWin32/include |
|
12 | 12 | win32:INCLUDEPATH += $${PWD}/genericBinaryFiles/elf/libelfWin32/include/libelf |
|
13 | 13 | win32:DEFINES+=_ELF_WINDOWS_ |
|
14 | 14 | DEFINES+=RS232_debug |
|
15 | 15 | |
|
16 | 16 | win32:LIBS += $${PWD}/genericBinaryFiles/elf/libelfWin32/bin/libelf.a |
|
17 | 17 | unix:LIBS += -lelf |
|
18 | 18 | |
|
19 | 19 | QMAKE_LFLAGS_RELEASE += --enable-auto-import |
|
20 | 20 | QMAKE_LFLAGS_DEBUG += --enable-auto-import |
|
21 | 21 | |
|
22 | 22 | target.path = $$[QT_INSTALL_LIBS] |
|
23 | 23 | isEmpty(target.path) { |
|
24 | 24 | error(can\'t get QT_INSTALL_LIBS) |
|
25 | 25 | } |
|
26 | 26 | |
|
27 | 27 | header.path = $$[QT_INSTALL_HEADERS]/SocExplorer/common |
|
28 | 28 | header.files = \ |
|
29 | 29 | memsizewdgt.h \ |
|
30 | 30 | qhexspinbox.h \ |
|
31 | 31 | qsvgicon.h \ |
|
32 | 32 | qhexedit/qhexedit_p.h \ |
|
33 | 33 | qhexedit/qhexedit.h \ |
|
34 | 34 | qhexedit/xbytearray.h \ |
|
35 | 35 | QCustomPlot/qcustomplot.h \ |
|
36 | 36 | SocExplorerPlot.h \ |
|
37 | 37 | tcp_terminal_client.h \ |
|
38 | 38 | genericBinaryFiles/elf/elfinfowdgt.h \ |
|
39 | 39 | genericBinaryFiles/elf/elfparser.h \ |
|
40 | 40 | genericBinaryFiles/elf/elffile.h \ |
|
41 | 41 | genericBinaryFiles/elf/elffilewidget.h \ |
|
42 | 42 | qipdialogbox.h \ |
|
43 | 43 | lppserial/src/RS232.h \ |
|
44 | 44 | qtablewidgetintitem.h \ |
|
45 | 45 | genericBinaryFiles/srec/srecfile.h \ |
|
46 | 46 | genericBinaryFiles/srec/srecfilewidget.h \ |
|
47 | 47 | genericBinaryFiles/BinFile/binaryfile.h \ |
|
48 | 48 | genericBinaryFiles/BinFile/binaryfilewidget.h \ |
|
49 | 49 | genericBinaryFiles/abstractbinfile.h \ |
|
50 | 50 | genericBinaryFiles/qvpushbutton.h \ |
|
51 | 51 | genericBinaryFiles/qtablewidgetintitem.h \ |
|
52 | 52 | genericBinaryFiles/filelist.h |
|
53 | 53 | |
|
54 | 54 | win32{ |
|
55 | 55 | elfheader.path = $$[QT_INSTALL_HEADERS]/SocExplorer/common/genericBinaryFiles/libelf |
|
56 | 56 | elfheader.files += \ |
|
57 | 57 | genericBinaryFiles/elf/libelfWin32/include/libelf/byteswap.h \ |
|
58 | 58 | genericBinaryFiles/elf/libelfWin32/include/libelf/errors.h \ |
|
59 | 59 | genericBinaryFiles/elf/libelfWin32/include/libelf/gelf.h \ |
|
60 | 60 | genericBinaryFiles/elf/libelfWin32/include/libelf/nlist.h \ |
|
61 | 61 | genericBinaryFiles/elf/libelfWin32/include/libelf/sys_elf.h \ |
|
62 | 62 | genericBinaryFiles/elf/libelfWin32/include/libelf/verneed.h \ |
|
63 | 63 | genericBinaryFiles/elf/libelfWin32/include/libelf/elf_repl.h \ |
|
64 | 64 | genericBinaryFiles/elf/libelfWin32/include/libelf/ext_types.h \ |
|
65 | 65 | genericBinaryFiles/elf/libelfWin32/include/libelf/libelf.h \ |
|
66 | 66 | genericBinaryFiles/elf/libelfWin32/include/libelf/private.h \ |
|
67 | 67 | genericBinaryFiles/elf/libelfWin32/include/libelf/verdef.h |
|
68 | 68 | INSTALLS += elfheader |
|
69 | 69 | } |
|
70 | 70 | |
|
71 | 71 | |
|
72 | 72 | isEmpty(header.path) { |
|
73 | 73 | error(can\'t get QT_INSTALL_HEADERS) |
|
74 | 74 | } |
|
75 | 75 | |
|
76 | 76 | INSTALLS += target header |
|
77 | 77 | |
|
78 | 78 | INCLUDEPATH += QCustomPlot qhexedit genericBinaryFiles genericBinaryFiles/srec genericBinaryFiles/BinFile |
|
79 | 79 | |
|
80 | 80 | HEADERS += \ |
|
81 | 81 | memsizewdgt.h \ |
|
82 | 82 | qhexspinbox.h \ |
|
83 | 83 | qsvgicon.h \ |
|
84 | 84 | qhexedit/qhexedit_p.h \ |
|
85 | 85 | qhexedit/qhexedit.h \ |
|
86 | 86 | qhexedit/xbytearray.h \ |
|
87 | 87 | qhexedit/commands.h \ |
|
88 | 88 | QCustomPlot/qcustomplot.h \ |
|
89 | 89 | tcp_terminal_client.h \ |
|
90 | 90 | genericBinaryFiles/elf/elfinfowdgt.h \ |
|
91 | 91 | genericBinaryFiles/elf/elfparser.h \ |
|
92 | 92 | genericBinaryFiles/elf/elffile.h \ |
|
93 | 93 | qipdialogbox.h \ |
|
94 | 94 | PySocExplorer.h \ |
|
95 | 95 | SocExplorerPlot.h \ |
|
96 | 96 | genericBinaryFiles/elf/elffilewidget.h \ |
|
97 | 97 | genericBinaryFiles/srec/srecfile.h \ |
|
98 | 98 | genericBinaryFiles/srec/srecfilewidget.h \ |
|
99 | 99 | genericBinaryFiles/abstractbinfile.h \ |
|
100 | 100 | genericBinaryFiles/BinFile/binaryfile.h \ |
|
101 | 101 | genericBinaryFiles/BinFile/binaryfilewidget.h \ |
|
102 | 102 | genericBinaryFiles/genericbinaryfilewidget.h \ |
|
103 | 103 | genericBinaryFiles/qvpushbutton.h \ |
|
104 | 104 | genericBinaryFiles/qtablewidgetintitem.h \ |
|
105 | 105 | genericBinaryFiles/filelist.h |
|
106 | 106 | |
|
107 | 107 | |
|
108 | 108 | SOURCES += \ |
|
109 | 109 | memsizewdgt.cpp \ |
|
110 | 110 | qhexspinbox.cpp \ |
|
111 | 111 | qsvgicon.cpp \ |
|
112 | 112 | qhexedit/qhexedit_p.cpp \ |
|
113 | 113 | qhexedit/qhexedit.cpp \ |
|
114 | 114 | qhexedit/xbytearray.cpp \ |
|
115 | 115 | qhexedit/commands.cpp \ |
|
116 | 116 | QCustomPlot/qcustomplot.cpp \ |
|
117 | 117 | tcp_terminal_client.cpp \ |
|
118 | 118 | genericBinaryFiles/elf/elfinfowdgt.cpp \ |
|
119 | 119 | genericBinaryFiles/elf/elfparser.cpp \ |
|
120 | 120 | genericBinaryFiles/elf/elffile.cpp \ |
|
121 | 121 | qipdialogbox.cpp \ |
|
122 | 122 | SocExplorerPlot.cpp \ |
|
123 | 123 | genericBinaryFiles/elf/elffilewidget.cpp \ |
|
124 | 124 | genericBinaryFiles/srec/srecfile.cpp \ |
|
125 | 125 | genericBinaryFiles/srec/srecfilewidget.cpp \ |
|
126 | 126 | genericBinaryFiles/abstractbinfile.cpp \ |
|
127 | 127 | genericBinaryFiles/BinFile/binaryfile.cpp \ |
|
128 | 128 | genericBinaryFiles/BinFile/binaryfilewidget.cpp \ |
|
129 | 129 | genericBinaryFiles/genericbinaryfilewidget.cpp \ |
|
130 | 130 | genericBinaryFiles/qvpushbutton.cpp \ |
|
131 | 131 | genericBinaryFiles/qtablewidgetintitem.cpp \ |
|
132 | 132 | genericBinaryFiles/filelist.cpp |
|
133 | 133 | |
|
134 | 134 | FORMS += \ |
|
135 | 135 | genericBinaryFiles/elf/elffilewidget.ui \ |
|
136 | 136 | genericBinaryFiles/srec/srecfilewidget.ui \ |
|
137 | 137 | genericBinaryFiles/BinFile/binaryfilewidget.ui \ |
|
138 | 138 | genericBinaryFiles/genericbinaryfilewidget.ui |
|
139 | 139 | |
|
140 | 140 | OTHER_FILES += \ |
|
141 | 141 | ./pythongenerator.sh \ |
|
142 | 142 | ./pythonQtgeneratorCfg.txt |
|
143 | 143 | |
|
144 | 144 | RESOURCES += \ |
|
145 | genericBinaryFiles/genericBinaryFiles.qrc | |
|
145 | genericBinaryFiles/ressources/genericBinaryFiles.qrc | |
|
146 | 146 | |
|
147 | 147 | |
|
148 | 148 | |
|
149 | 149 | |
|
150 | 150 |
General Comments 0
You need to be logged in to leave comments.
Login now