diff options
author | Marcin Bukat <marcin.bukat@gmail.com> | 2015-03-04 11:19:36 +0100 |
---|---|---|
committer | Gerrit Rockbox <gerrit@rockbox.org> | 2015-03-04 22:46:03 +0100 |
commit | 0d9124fc795b19265f0a6b1d1d7953cf0dc90219 (patch) | |
tree | 33bc04bab912365cf178f7f415a367c7216a762c /utils | |
parent | 726a2bd11ef7128d560ee631d9bd49cf19a71744 (diff) | |
download | rockbox-0d9124fc795b19265f0a6b1d1d7953cf0dc90219.tar.gz rockbox-0d9124fc795b19265f0a6b1d1d7953cf0dc90219.zip |
qeditor: Add external static libraries to build dependecies
The solution is a bit hacky as it simply call make in libs
directory as pre-dependency. Clean doesn't touch libs.
Change-Id: Ib447a48fd87cc41228944f17444474a55d393543
Diffstat (limited to 'utils')
-rw-r--r-- | utils/regtools/qeditor/qeditor.pro | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/utils/regtools/qeditor/qeditor.pro b/utils/regtools/qeditor/qeditor.pro index 771b60b61c..39b6c76cc9 100644 --- a/utils/regtools/qeditor/qeditor.pro +++ b/utils/regtools/qeditor/qeditor.pro | |||
@@ -6,6 +6,11 @@ SOURCES += main.cpp mainwindow.cpp regtab.cpp backend.cpp analyser.cpp \ | |||
6 | std_analysers.cpp settings.cpp utils.cpp regdisplaypanel.cpp regedit.cpp | 6 | std_analysers.cpp settings.cpp utils.cpp regdisplaypanel.cpp regedit.cpp |
7 | LIBS += -L../lib/ -lsocdesc -lxml2 | 7 | LIBS += -L../lib/ -lsocdesc -lxml2 |
8 | INCLUDEPATH += ../lib/ ../../hwstub/lib | 8 | INCLUDEPATH += ../lib/ ../../hwstub/lib |
9 | DEPENDPATH += ../ | ||
10 | |||
11 | libsocdesc.commands = cd ../lib && make | ||
12 | QMAKE_EXTRA_TARGETS += libsocdesc | ||
13 | PRE_TARGETDEPS += libsocdesc | ||
9 | 14 | ||
10 | VERSION = 2.0.3 | 15 | VERSION = 2.0.3 |
11 | 16 | ||
@@ -14,7 +19,12 @@ DEFINES += APP_VERSION=\\\"$$VERSION\\\" | |||
14 | unix { | 19 | unix { |
15 | !nohwstub { | 20 | !nohwstub { |
16 | message("Use 'qmake -config nohwstub' if you want to disable hwstub support") | 21 | message("Use 'qmake -config nohwstub' if you want to disable hwstub support") |
22 | libhwstub.commands = cd ../../hwstub/lib && make | ||
23 | QMAKE_EXTRA_TARGETS += libhwstub | ||
24 | PRE_TARGETDEPS += libhwstub | ||
25 | |||
17 | LIBS += -L../../hwstub/lib -lhwstub | 26 | LIBS += -L../../hwstub/lib -lhwstub |
27 | DEPENDPATH += ../../hwstub | ||
18 | DEFINES += HAVE_HWSTUB | 28 | DEFINES += HAVE_HWSTUB |
19 | CONFIG += link_pkgconfig | 29 | CONFIG += link_pkgconfig |
20 | PKGCONFIG += libusb-1.0 | 30 | PKGCONFIG += libusb-1.0 |