From 0d9124fc795b19265f0a6b1d1d7953cf0dc90219 Mon Sep 17 00:00:00 2001 From: Marcin Bukat Date: Wed, 4 Mar 2015 11:19:36 +0100 Subject: 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 --- utils/regtools/qeditor/qeditor.pro | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'utils/regtools') 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 \ std_analysers.cpp settings.cpp utils.cpp regdisplaypanel.cpp regedit.cpp LIBS += -L../lib/ -lsocdesc -lxml2 INCLUDEPATH += ../lib/ ../../hwstub/lib +DEPENDPATH += ../ + +libsocdesc.commands = cd ../lib && make +QMAKE_EXTRA_TARGETS += libsocdesc +PRE_TARGETDEPS += libsocdesc VERSION = 2.0.3 @@ -14,7 +19,12 @@ DEFINES += APP_VERSION=\\\"$$VERSION\\\" unix { !nohwstub { message("Use 'qmake -config nohwstub' if you want to disable hwstub support") + libhwstub.commands = cd ../../hwstub/lib && make + QMAKE_EXTRA_TARGETS += libhwstub + PRE_TARGETDEPS += libhwstub + LIBS += -L../../hwstub/lib -lhwstub + DEPENDPATH += ../../hwstub DEFINES += HAVE_HWSTUB CONFIG += link_pkgconfig PKGCONFIG += libusb-1.0 -- cgit