@@ -1,1 +1,2 | |||
|
1 | 1 | src/SocExplorerEngine/PeripheralWidget = https://hephaistos.lpp.polytechnique.fr/rhodecode/HG_REPOSITORIES/LPP/INSTRUMENTATION/USERS/JEANDET/PeripheralWidget |
|
2 | src/common/lppserial = https://hephaistos.lpp.polytechnique.fr/rhodecode/HG_REPOSITORIES/LPP/INSTRUMENTATION/lppserial |
@@ -1,1 +1,2 | |||
|
1 | 1 | 2c82d72694590cbc2aebb946667f11f60ea89afe src/SocExplorerEngine/PeripheralWidget |
|
2 | def3deb8bd342ad5cba9f7984f02f49f8d1df63e src/common/lppserial |
@@ -1,106 +1,111 | |||
|
1 | 1 | SOCEXPLORER_ROOT = \"$${PWD}/../..\" |
|
2 | 2 | include($${PWD}/../../build_cfg/socexplorer.pri) |
|
3 | 3 | |
|
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 | DEFINES+=RS232_debug | |
|
14 | 15 | |
|
15 | 16 | win32:LIBS += $${PWD}/elf/libelfWin32/bin/libelf.a |
|
16 | 17 | unix:LIBS += -lelf |
|
17 | 18 | |
|
18 | 19 | QMAKE_LFLAGS_RELEASE += --enable-auto-import |
|
19 | 20 | QMAKE_LFLAGS_DEBUG += --enable-auto-import |
|
20 | 21 | |
|
21 | 22 | target.path = $$[QT_INSTALL_LIBS] |
|
22 | 23 | isEmpty(target.path) { |
|
23 | 24 | error(can\'t get QT_INSTALL_LIBS) |
|
24 | 25 | } |
|
25 | 26 | |
|
26 | 27 | header.path = $$[QT_INSTALL_HEADERS]/SocExplorer/common |
|
27 | 28 | header.files = \ |
|
28 | 29 | memsizewdgt.h \ |
|
29 | 30 | qhexspinbox.h \ |
|
30 | 31 | qsvgicon.h \ |
|
31 | 32 | qhexedit/qhexedit_p.h \ |
|
32 | 33 | qhexedit/qhexedit.h \ |
|
33 | 34 | qhexedit/xbytearray.h \ |
|
34 | 35 | QCustomPlot/qcustomplot.h \ |
|
35 | 36 | SocExplorerPlot.h \ |
|
36 | 37 | tcp_terminal_client.h \ |
|
37 | 38 | elf/elfinfowdgt.h \ |
|
38 | 39 | elf/elfparser.h \ |
|
39 | 40 | elf/elffile.h \ |
|
40 | qipdialogbox.h | |
|
41 | ||
|
41 | qipdialogbox.h \ | |
|
42 | lppserial/src/RS232.h | |
|
42 | 43 | |
|
43 | 44 | win32{ |
|
44 | 45 | elfheader.path = $$[QT_INSTALL_HEADERS]/SocExplorer/common/libelf |
|
45 | 46 | elfheader.files += \ |
|
46 | 47 | elf/libelfWin32/include/libelf/byteswap.h \ |
|
47 | 48 | elf/libelfWin32/include/libelf/errors.h \ |
|
48 | 49 | elf/libelfWin32/include/libelf/gelf.h \ |
|
49 | 50 | elf/libelfWin32/include/libelf/nlist.h \ |
|
50 | 51 | elf/libelfWin32/include/libelf/sys_elf.h \ |
|
51 | 52 | elf/libelfWin32/include/libelf/verneed.h \ |
|
52 | 53 | elf/libelfWin32/include/libelf/elf_repl.h \ |
|
53 | 54 | elf/libelfWin32/include/libelf/ext_types.h \ |
|
54 | 55 | elf/libelfWin32/include/libelf/libelf.h \ |
|
55 | 56 | elf/libelfWin32/include/libelf/private.h \ |
|
56 | 57 | elf/libelfWin32/include/libelf/verdef.h |
|
57 | 58 | INSTALLS += elfheader |
|
58 | 59 | } |
|
59 | 60 | |
|
60 | 61 | |
|
61 | 62 | isEmpty(header.path) { |
|
62 | 63 | error(can\'t get QT_INSTALL_HEADERS) |
|
63 | 64 | } |
|
64 | 65 | |
|
65 | 66 | INSTALLS += target header |
|
66 | 67 | |
|
67 | 68 | INCLUDEPATH += QCustomPlot qhexedit |
|
68 | 69 | |
|
69 | 70 | HEADERS += \ |
|
70 | 71 | memsizewdgt.h \ |
|
71 | 72 | qhexspinbox.h \ |
|
72 | 73 | qsvgicon.h \ |
|
73 | 74 | qhexedit/qhexedit_p.h \ |
|
74 | 75 | qhexedit/qhexedit.h \ |
|
75 | 76 | qhexedit/xbytearray.h \ |
|
76 | 77 | qhexedit/commands.h \ |
|
77 | 78 | QCustomPlot/qcustomplot.h \ |
|
78 | 79 | tcp_terminal_client.h \ |
|
79 | 80 | elf/elfinfowdgt.h \ |
|
80 | 81 | elf/elfparser.h \ |
|
81 | 82 | abstractexecfile.h \ |
|
82 | 83 | elf/elffile.h \ |
|
83 | 84 | qipdialogbox.h \ |
|
84 | 85 | PySocExplorer.h \ |
|
85 | SocExplorerPlot.h | |
|
86 | SocExplorerPlot.h \ | |
|
87 | lppserial/src/RS232.h | |
|
86 | 88 | |
|
87 | 89 | |
|
88 | 90 | SOURCES += \ |
|
89 | 91 | memsizewdgt.cpp \ |
|
90 | 92 | qhexspinbox.cpp \ |
|
91 | 93 | qsvgicon.cpp \ |
|
92 | 94 | qhexedit/qhexedit_p.cpp \ |
|
93 | 95 | qhexedit/qhexedit.cpp \ |
|
94 | 96 | qhexedit/xbytearray.cpp \ |
|
95 | 97 | qhexedit/commands.cpp \ |
|
96 | 98 | QCustomPlot/qcustomplot.cpp \ |
|
97 | 99 | tcp_terminal_client.cpp \ |
|
98 | 100 | elf/elfinfowdgt.cpp \ |
|
99 | 101 | elf/elfparser.cpp \ |
|
100 | 102 | abstractexecfile.cpp \ |
|
101 | 103 | elf/elffile.cpp \ |
|
102 | 104 | qipdialogbox.cpp \ |
|
103 | 105 | SocExplorerPlot.cpp |
|
104 | 106 | |
|
107 | unix:SOURCES += lppserial/src/RS232_unix.c | |
|
108 | win32:SOURCES += lppserial/src/RS232_win.c | |
|
105 | 109 | |
|
106 | 110 | |
|
111 |
General Comments 0
You need to be logged in to leave comments.
Login now