From a0f4f1d88544e0583837d827d7f07ba9360561a9 Mon Sep 17 00:00:00 2001 From: George Wright Date: Sat, 7 Dec 2024 13:11:57 -0800 Subject: [PATCH] fix qmake dependencies. still need to make clean before each build though. --- WindEmu.pro | 2 ++ WindQt/WindQt.pro | 6 ------ 2 files changed, 2 insertions(+), 6 deletions(-) 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 -- 2.45.2