##// END OF EJS Templates
Sync
jeandet -
r76:2c7201cecc87 default
parent child
Show More
@@ -1,166 +1,166
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=c4b98d42ee59
13 SOCEXPLORER_CHAGESETNUM=7e54838aea98+
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.4.5"\\\"\"
22 DEFINES += SOCEXPLORER_VERSION="\"\\\"0.4.8"\\\"\"
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 plugins/genericPySysdriver.h \
61 61 XmlEngine/XMLmodel.h \
62 62 XmlEngine/XMLdata.h \
63 63 XmlEngine/xmldriver.h \
64 64 SOC/socmodel.h \
65 65 SOC/registerdata.h \
66 66 SOC/socclk.h \
67 67 PeripheralWidget/src/peripheralwidget.h \
68 68 PeripheralWidget/src/registerwidget.h \
69 69 PeripheralWidget/src/socregsviewer.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 plugins/genericPySysdriver.h \
106 106 pluginManagerWdgt/plugintree.h \
107 107 pluginManagerWdgt/pluginmanagerWDGT.h \
108 108 pluginManagerWdgt/pluginlist.h \
109 109 pluginManagerWdgt/plugininfoswdgt.h \
110 110 XmlEngine/XMLmodel.h \
111 111 XmlEngine/XMLdata.h \
112 112 SOC/socmodel.h \
113 113 SOC/registerdata.h \
114 114 XmlEngine/xmldriver.h \
115 115 PeripheralWidget/src/peripheralwidget.h \
116 116 PeripheralWidget/src/registerwidget.h \
117 117 PeripheralWidget/src/socregsviewer.h \
118 118 SOC/socclk.h \
119 119 engine/socexplorerengine.h \
120 120 engine/socexplorerxmlfile.h \
121 121 plugins/socexplorerplugin.h \
122 122 pluginsInterface/socexplorerplugininterface.h \
123 123 pluginsInterface/socexplorerplugininterface_global.h \
124 124 proxy/socexplorerproxy.h \
125 125 SOC/socexplorerenumdevice.h \
126 126 PySocExplorerEngine.h \
127 127 memtester/memtester.h
128 128
129 129
130 130
131 131
132 132
133 133
134 134 SOURCES += \
135 135 pluginloader/pluginscache.cpp \
136 136 pluginloader/pluginloader.cpp \
137 137 pluginManagerWdgt/plugintree.cpp \
138 138 pluginManagerWdgt/pluginmanagerWDGT.cpp \
139 139 pluginManagerWdgt/pluginlist.cpp \
140 140 pluginManagerWdgt/plugininfoswdgt.cpp \
141 141 XmlEngine/XMLmodel.cpp \
142 142 XmlEngine/XMLdata.cpp \
143 143 SOC/socmodel.cpp \
144 144 SOC/registerdata.cpp \
145 145 XmlEngine/xmldriver.cpp \
146 146 PeripheralWidget/src/peripheralwidget.cpp \
147 147 PeripheralWidget/src/registerwidget.cpp \
148 148 PeripheralWidget/src/socregsviewer.cpp \
149 149 SOC/socclk.cpp \
150 150 plugins/genericPySysdriver.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
158 158
159 159 OTHER_FILES += \
160 160 plugins/socexplorerplugin.cpp \
161 161 pluginsInterface/socexplorerplugininterface.cpp \
162 162 plugins/socexplorerplugin.prf \
163 163 pythongenerator.sh \
164 164 pythonQtgeneratorCfg.txt
165 165
166 166
General Comments 0
You need to be logged in to leave comments. Login now