UI: Add PRE_TARGETDEPS to static libs to rebuild dependencies.

This commit is contained in:
Nodir Temirkhodjaev 2021-05-11 14:53:36 +03:00
parent 0702e17bad
commit e578f2b562
3 changed files with 6 additions and 6 deletions

View File

@ -5,8 +5,7 @@ include($$PWD/../../ui/FortFirewallUI.pri)
QT += testlib
CONFIG += console
CONFIG -= app_bundle
CONFIG -= debug_and_release
CONFIG -= app_bundle debug_and_release
TEMPLATE = app
@ -15,4 +14,5 @@ include($$PWD/GoogleTest-include.pri)
# Link to a static library
LIBS *= -L$$builddir/tests/Common
LIBS += -lCommonLib
LIBS *= -lCommonLib
PRE_TARGETDEPS *= $$builddir/tests/Common/CommonLib.lib

View File

@ -3,8 +3,7 @@ include(../../global.pri)
include(../../ui/FortFirewallUI.pri)
CONFIG += console
CONFIG -= app_bundle
CONFIG -= debug_and_release
CONFIG -= app_bundle debug_and_release
TARGET = CommonLib
CONFIG += staticlib

View File

@ -3,4 +3,5 @@ include($$PWD/FortFirewallUI-include.pri)
# Link to a static library
LIBS *= -L$$builddir/ui
LIBS += -lFortFirewallUILib
LIBS *= -lFortFirewallUILib
PRE_TARGETDEPS *= $$builddir/ui/FortFirewallUILib.lib