Force recompiling of binaries when the static library changes.
This commit is contained in:
@@ -4,7 +4,6 @@ include(../common/defines.pri)
|
|||||||
TARGET = qcma
|
TARGET = qcma
|
||||||
TEMPLATE += app
|
TEMPLATE += app
|
||||||
QT += gui widgets network sql
|
QT += gui widgets network sql
|
||||||
LIBS += -L../common -lqcma_common
|
|
||||||
|
|
||||||
SOURCES += \
|
SOURCES += \
|
||||||
main.cpp \
|
main.cpp \
|
||||||
@@ -81,3 +80,11 @@ win32 {
|
|||||||
# Windows icon
|
# Windows icon
|
||||||
RC_FILE = qcma.rc
|
RC_FILE = qcma.rc
|
||||||
}
|
}
|
||||||
|
|
||||||
|
unix|win32: LIBS += -L$$OUT_PWD/../common/ -lqcma_common
|
||||||
|
|
||||||
|
INCLUDEPATH += $$PWD/../common
|
||||||
|
DEPENDPATH += $$PWD/../common
|
||||||
|
|
||||||
|
win32:!win32-g++: PRE_TARGETDEPS += $$OUT_PWD/../common/qcma_common.lib
|
||||||
|
else:unix|win32-g++: PRE_TARGETDEPS += $$OUT_PWD/../common/libqcma_common.a
|
||||||
|
Reference in New Issue
Block a user