@@ -1,174 +1,174 | |||
|
1 | 1 | SOCEXPLORER_ROOT = \"$${PWD}/../..\" |
|
2 | 2 | |
|
3 | 3 | include($${PWD}/../../build_cfg/socexplorer.pri) |
|
4 | 4 | |
|
5 | 5 | TARGET = socexplorerengine$${DEBUG_EXT} |
|
6 | 6 | TEMPLATE = lib |
|
7 | 7 | |
|
8 | 8 | #more verbose plugin loader to debug plugin loading issues such as dependencies issues |
|
9 | 9 | SOCEXPLORER_PLUGIN_LOADER="custom" |
|
10 | 10 | |
|
11 | 11 | SOCEXPLORER_CHAGESETNUM=$$system(hg id) |
|
12 | 12 | isEmpty(SOCEXPLORER_CHAGESETNUM){ |
|
13 |
SOCEXPLORER_CHAGESETNUM= |
|
|
13 | SOCEXPLORER_CHAGESETNUM=e9c30654210d+ | |
|
14 | 14 | } |
|
15 | 15 | SOCEXPLORER_CHAGESETNUMSTR = '\\"$${SOCEXPLORER_CHAGESETNUM}\\"' |
|
16 | 16 | SOCEXPLORER_BRANCH=$$system(hg branch) |
|
17 | 17 | isEmpty(SOCEXPLORER_BRANCH){ |
|
18 | 18 | SOCEXPLORER_BRANCH=default |
|
19 | 19 | } |
|
20 | 20 | SOCEXPLORER_BRANCHSTR = '\\"$${SOCEXPLORER_BRANCH}\\"' |
|
21 | 21 | |
|
22 |
DEFINES += SOCEXPLORER_VERSION="\"\\\"0.6. |
|
|
22 | DEFINES += SOCEXPLORER_VERSION="\"\\\"0.6.2"\\\"\" | |
|
23 | 23 | DEFINES += SOCEXPLORER_CHAGESET=\"$${SOCEXPLORER_CHAGESETNUMSTR}\" |
|
24 | 24 | DEFINES += SOCEXPLORER_BRANCH=\"$${SOCEXPLORER_BRANCHSTR}\" |
|
25 | 25 | |
|
26 | 26 | |
|
27 | 27 | message("Building SOCEXPLORER changeset $${SOCEXPLORER_CHAGESETNUM}") |
|
28 | 28 | |
|
29 | 29 | DEFINES += SOCEXPLORER_EXPORTS |
|
30 | 30 | |
|
31 | 31 | include ( plugins/socexplorerplugin.prf ) |
|
32 | 32 | include ( PeripheralWidget/PeripheralWidget.pri) |
|
33 | 33 | |
|
34 | 34 | win32:CONFIG += dll |
|
35 | 35 | win32:CONFIG -= static |
|
36 | 36 | win32:LIBS+=-L$${SOCEXPLORER_ROOT}/bin/win32 -lsocexplorercommon$${DEBUG_EXT} |
|
37 | 37 | |
|
38 | 38 | contains(SOCEXPLORER_PLUGIN_LOADER,"custom") |
|
39 | 39 | { |
|
40 | 40 | unix:LIBS+= -ldl |
|
41 | 41 | unix:DEFINES += SOCEXPLORER_CUSTOM_PLUGIN_LOADER |
|
42 | 42 | unix:HEADERS += \ |
|
43 | 43 | pluginloader/unix/unixpluginloader.h |
|
44 | 44 | unix:SOURCES += \ |
|
45 | 45 | pluginloader/unix/unixpluginloader.cpp |
|
46 | 46 | } |
|
47 | 47 | |
|
48 | 48 | target.path = $$[QT_INSTALL_LIBS] |
|
49 | 49 | isEmpty(target.path) { |
|
50 | 50 | error(can\'t get QT_INSTALL_LIBS) |
|
51 | 51 | } |
|
52 | 52 | |
|
53 | 53 | header.path = $$[QT_INSTALL_HEADERS]/SocExplorer |
|
54 | 54 | header.files = engine/socexplorerengine.h \ |
|
55 | 55 | pluginloader/pluginscache.h \ |
|
56 | 56 | plugins/socexplorerplugin.h \ |
|
57 | 57 | proxy/socexplorerproxy.h \ |
|
58 | 58 | engine/socexplorerxmlfile.h \ |
|
59 | 59 | SOC/socexplorerenumdevice.h \ |
|
60 | 60 | XmlEngine/XMLmodel.h \ |
|
61 | 61 | XmlEngine/XMLdata.h \ |
|
62 | 62 | XmlEngine/xmldriver.h \ |
|
63 | 63 | SOC/socmodel.h \ |
|
64 | 64 | SOC/registerdata.h \ |
|
65 | 65 | SOC/socclk.h \ |
|
66 | 66 | PeripheralWidget/src/peripheralwidget.h \ |
|
67 | 67 | PeripheralWidget/src/registerwidget.h \ |
|
68 | 68 | PeripheralWidget/src/socregsviewer.h \ |
|
69 | 69 | PeripheralWidget/src/socregsviewernew.h \ |
|
70 | 70 | memtester/memtester.h |
|
71 | 71 | |
|
72 | 72 | |
|
73 | 73 | |
|
74 | 74 | isEmpty(header.path) { |
|
75 | 75 | error(can\'t get QT_INSTALL_HEADERS) |
|
76 | 76 | } |
|
77 | 77 | |
|
78 | 78 | pluginif.files = pluginsInterface/*.h \ |
|
79 | 79 | pluginsInterface/*.cpp |
|
80 | 80 | |
|
81 | 81 | pluginif.path = $$[QT_INSTALL_HEADERS]/SocExplorer/pluginsInterface |
|
82 | 82 | |
|
83 | 83 | |
|
84 | 84 | INSTALLS += target header pluginif |
|
85 | 85 | |
|
86 | 86 | INCLUDEPATH += engine \ |
|
87 | 87 | pluginloader \ |
|
88 | 88 | pluginsInterface \ |
|
89 | 89 | proxy \ |
|
90 | 90 | plugins \ |
|
91 | 91 | pluginManagerWdgt \ |
|
92 | 92 | ../common \ |
|
93 | 93 | ../common/genericBinaryFiles \ |
|
94 | 94 | ../ \ |
|
95 | 95 | RegisterMVS \ |
|
96 | 96 | XmlEngine \ |
|
97 | 97 | SOC \ |
|
98 | 98 | PeripheralWidget/src \ |
|
99 | 99 | memtester |
|
100 | 100 | |
|
101 | 101 | |
|
102 | 102 | HEADERS += \ |
|
103 | 103 | pluginloader/pluginscache.h \ |
|
104 | 104 | pluginloader/pluginloader.h \ |
|
105 | 105 | pluginManagerWdgt/plugintree.h \ |
|
106 | 106 | pluginManagerWdgt/pluginmanagerWDGT.h \ |
|
107 | 107 | pluginManagerWdgt/pluginlist.h \ |
|
108 | 108 | pluginManagerWdgt/plugininfoswdgt.h \ |
|
109 | 109 | XmlEngine/XMLmodel.h \ |
|
110 | 110 | XmlEngine/XMLdata.h \ |
|
111 | 111 | SOC/socmodel.h \ |
|
112 | 112 | SOC/registerdata.h \ |
|
113 | 113 | XmlEngine/xmldriver.h \ |
|
114 | 114 | PeripheralWidget/src/peripheralwidget.h \ |
|
115 | 115 | PeripheralWidget/src/registerwidget.h \ |
|
116 | 116 | PeripheralWidget/src/socregsviewer.h \ |
|
117 | 117 | SOC/socclk.h \ |
|
118 | 118 | engine/socexplorerengine.h \ |
|
119 | 119 | engine/socexplorerxmlfile.h \ |
|
120 | 120 | plugins/socexplorerplugin.h \ |
|
121 | 121 | pluginsInterface/socexplorerplugininterface.h \ |
|
122 | 122 | pluginsInterface/socexplorerplugininterface_global.h \ |
|
123 | 123 | proxy/socexplorerproxy.h \ |
|
124 | 124 | SOC/socexplorerenumdevice.h \ |
|
125 | 125 | PySocExplorerEngine.h \ |
|
126 | 126 | memtester/memtester.h\ |
|
127 | 127 | PeripheralWidget/src/socregsviewernew.h \ |
|
128 | 128 | PeripheralWidget/src/collapsableperipheralwidget.h |
|
129 | 129 | |
|
130 | 130 | |
|
131 | 131 | |
|
132 | 132 | |
|
133 | 133 | |
|
134 | 134 | |
|
135 | 135 | SOURCES += \ |
|
136 | 136 | pluginloader/pluginscache.cpp \ |
|
137 | 137 | pluginloader/pluginloader.cpp \ |
|
138 | 138 | pluginManagerWdgt/plugintree.cpp \ |
|
139 | 139 | pluginManagerWdgt/pluginmanagerWDGT.cpp \ |
|
140 | 140 | pluginManagerWdgt/pluginlist.cpp \ |
|
141 | 141 | pluginManagerWdgt/plugininfoswdgt.cpp \ |
|
142 | 142 | XmlEngine/XMLmodel.cpp \ |
|
143 | 143 | XmlEngine/XMLdata.cpp \ |
|
144 | 144 | SOC/socmodel.cpp \ |
|
145 | 145 | SOC/registerdata.cpp \ |
|
146 | 146 | XmlEngine/xmldriver.cpp \ |
|
147 | 147 | PeripheralWidget/src/peripheralwidget.cpp \ |
|
148 | 148 | PeripheralWidget/src/registerwidget.cpp \ |
|
149 | 149 | PeripheralWidget/src/socregsviewer.cpp \ |
|
150 | 150 | SOC/socclk.cpp \ |
|
151 | 151 | engine/socexplorerengine.cpp \ |
|
152 | 152 | engine/socexplorerxmlfile.cpp \ |
|
153 | 153 | proxy/socexplorerproxy.cpp \ |
|
154 | 154 | SOC/socexplorerenumdevice.cpp \ |
|
155 | 155 | plugins/socexplorerplugin.cpp \ |
|
156 | 156 | memtester/memtester.cpp \ |
|
157 | 157 | PeripheralWidget/src/socregsviewernew.cpp \ |
|
158 | 158 | PeripheralWidget/src/collapsableperipheralwidget.cpp |
|
159 | 159 | |
|
160 | 160 | |
|
161 | 161 | OTHER_FILES += \ |
|
162 | 162 | plugins/socexplorerplugin.cpp \ |
|
163 | 163 | pluginsInterface/socexplorerplugininterface.cpp \ |
|
164 | 164 | plugins/socexplorerplugin.prf \ |
|
165 | 165 | pythongenerator.sh \ |
|
166 | 166 | pythonQtgeneratorCfg.txt |
|
167 | 167 | |
|
168 | 168 | FORMS += \ |
|
169 | 169 | PeripheralWidget/src/socregsviewernew.ui \ |
|
170 | 170 | PeripheralWidget/src/collapsableperipheralwidget.ui |
|
171 | 171 | |
|
172 | 172 | |
|
173 | 173 | RESOURCES += \ |
|
174 | 174 | PeripheralWidget/ressources/peripheralwidget.qrc |
General Comments 0
You need to be logged in to leave comments.
Login now