From: George Wright Date: Sat, 7 Dec 2024 21:11:57 +0000 (-0800) Subject: fix qmake dependencies. still need to make clean before each build though. X-Git-Url: http://git.gwright.org.uk/?a=commitdiff_plain;h=a0f4f1d88544e0583837d827d7f07ba9360561a9;p=WindEmu.git fix qmake dependencies. still need to make clean before each build though. --- diff --git a/WindEmu.pro b/WindEmu.pro index 06d7ce5..2416460 100644 --- a/WindEmu.pro +++ b/WindEmu.pro @@ -5,3 +5,5 @@ CONFIG += console SUBDIRS += \ WindQt \ WindCore + +WindQt.depends = WindCore \ No newline at end of file diff --git a/WindQt/WindQt.pro b/WindQt/WindQt.pro index 9bab131..a1b13fa 100644 --- a/WindQt/WindQt.pro +++ b/WindQt/WindQt.pro @@ -46,9 +46,3 @@ else:unix: LIBS += -L$$OUT_PWD/../WindCore/ -lWindCore INCLUDEPATH += $$PWD/../WindCore DEPENDPATH += $$PWD/../WindCore - -win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../WindCore/release/libWindCore.a -else:win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../WindCore/debug/libWindCore.a -else:win32:!win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../WindCore/release/WindCore.lib -else:win32:!win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../WindCore/debug/WindCore.lib -else:unix: PRE_TARGETDEPS += $$OUT_PWD/../WindCore/libWindCore.a