@@ -1,128 +1,128 | |||
|
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}/elf/libelfWin32/include |
|
12 | 12 | win32:INCLUDEPATH += $${PWD}/elf/libelfWin32/include/libelf |
|
13 | 13 | win32:DEFINES+=_ELF_WINDOWS_ |
|
14 | 14 | DEFINES+=RS232_debug |
|
15 | 15 | |
|
16 | 16 | win32:LIBS += $${PWD}/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 | elf/elfinfowdgt.h \ |
|
39 | 39 | elf/elfparser.h \ |
|
40 | 40 | elf/elffile.h \ |
|
41 | 41 | elf/elffilewidget.h \ |
|
42 | 42 | qipdialogbox.h \ |
|
43 | 43 | lppserial/src/RS232.h \ |
|
44 | 44 | qtablewidgetintitem.h \ |
|
45 | 45 | srec/srecfile.h \ |
|
46 | 46 | srec/srecfilewidget.h \ |
|
47 |
abstractbinfile. |
|
|
47 | abstractbinfile.h | |
|
48 | 48 | |
|
49 | 49 | win32{ |
|
50 | 50 | elfheader.path = $$[QT_INSTALL_HEADERS]/SocExplorer/common/libelf |
|
51 | 51 | elfheader.files += \ |
|
52 | 52 | elf/libelfWin32/include/libelf/byteswap.h \ |
|
53 | 53 | elf/libelfWin32/include/libelf/errors.h \ |
|
54 | 54 | elf/libelfWin32/include/libelf/gelf.h \ |
|
55 | 55 | elf/libelfWin32/include/libelf/nlist.h \ |
|
56 | 56 | elf/libelfWin32/include/libelf/sys_elf.h \ |
|
57 | 57 | elf/libelfWin32/include/libelf/verneed.h \ |
|
58 | 58 | elf/libelfWin32/include/libelf/elf_repl.h \ |
|
59 | 59 | elf/libelfWin32/include/libelf/ext_types.h \ |
|
60 | 60 | elf/libelfWin32/include/libelf/libelf.h \ |
|
61 | 61 | elf/libelfWin32/include/libelf/private.h \ |
|
62 | 62 | elf/libelfWin32/include/libelf/verdef.h |
|
63 | 63 | INSTALLS += elfheader |
|
64 | 64 | } |
|
65 | 65 | |
|
66 | 66 | |
|
67 | 67 | isEmpty(header.path) { |
|
68 | 68 | error(can\'t get QT_INSTALL_HEADERS) |
|
69 | 69 | } |
|
70 | 70 | |
|
71 | 71 | INSTALLS += target header |
|
72 | 72 | |
|
73 | 73 | INCLUDEPATH += QCustomPlot qhexedit srec |
|
74 | 74 | |
|
75 | 75 | HEADERS += \ |
|
76 | 76 | memsizewdgt.h \ |
|
77 | 77 | qhexspinbox.h \ |
|
78 | 78 | qsvgicon.h \ |
|
79 | 79 | qhexedit/qhexedit_p.h \ |
|
80 | 80 | qhexedit/qhexedit.h \ |
|
81 | 81 | qhexedit/xbytearray.h \ |
|
82 | 82 | qhexedit/commands.h \ |
|
83 | 83 | QCustomPlot/qcustomplot.h \ |
|
84 | 84 | tcp_terminal_client.h \ |
|
85 | 85 | elf/elfinfowdgt.h \ |
|
86 | 86 | elf/elfparser.h \ |
|
87 | 87 | elf/elffile.h \ |
|
88 | 88 | qipdialogbox.h \ |
|
89 | 89 | PySocExplorer.h \ |
|
90 | 90 | SocExplorerPlot.h \ |
|
91 | 91 | elf/elffilewidget.h \ |
|
92 | 92 | qtablewidgetintitem.h \ |
|
93 | 93 | srec/srecfile.h \ |
|
94 | 94 | srec/srecfilewidget.h \ |
|
95 | 95 | abstractbinfile.h |
|
96 | 96 | |
|
97 | 97 | |
|
98 | 98 | SOURCES += \ |
|
99 | 99 | memsizewdgt.cpp \ |
|
100 | 100 | qhexspinbox.cpp \ |
|
101 | 101 | qsvgicon.cpp \ |
|
102 | 102 | qhexedit/qhexedit_p.cpp \ |
|
103 | 103 | qhexedit/qhexedit.cpp \ |
|
104 | 104 | qhexedit/xbytearray.cpp \ |
|
105 | 105 | qhexedit/commands.cpp \ |
|
106 | 106 | QCustomPlot/qcustomplot.cpp \ |
|
107 | 107 | tcp_terminal_client.cpp \ |
|
108 | 108 | elf/elfinfowdgt.cpp \ |
|
109 | 109 | elf/elfparser.cpp \ |
|
110 | 110 | elf/elffile.cpp \ |
|
111 | 111 | qipdialogbox.cpp \ |
|
112 | 112 | SocExplorerPlot.cpp \ |
|
113 | 113 | elf/elffilewidget.cpp \ |
|
114 | 114 | qtablewidgetintitem.cpp \ |
|
115 | 115 | srec/srecfile.cpp \ |
|
116 | 116 | srec/srecfilewidget.cpp \ |
|
117 | 117 | abstractbinfile.cpp |
|
118 | 118 | |
|
119 | 119 | FORMS += \ |
|
120 | 120 | elf/elffilewidget.ui \ |
|
121 | 121 | srec/srecfilewidget.ui |
|
122 | 122 | |
|
123 | 123 | OTHER_FILES += \ |
|
124 | 124 | ./pythongenerator.sh \ |
|
125 | 125 | ./pythonQtgeneratorCfg.txt |
|
126 | 126 | |
|
127 | 127 | |
|
128 | 128 |
General Comments 0
You need to be logged in to leave comments.
Login now