| 1 |
include($$PWD/../vendor/env.pri) |
| 2 |
|
| 3 |
QT += dtkwidget |
| 4 |
|
| 5 |
unix{ |
| 6 |
QT += network |
| 7 |
CONFIG += link_pkgconfig |
| 8 |
} |
| 9 |
|
| 10 |
linux{ |
| 11 |
QT += x11extras dbus x11extras |
| 12 |
CONFIG += link_pkgconfig |
| 13 |
PKGCONFIG += dtkwidget |
| 14 |
# PKGCONFIG += xcb-util libstartup-notification-1.0 |
| 15 |
# LIBS += -lxcb -lX11 -lXext |
| 16 |
} |
| 17 |
|
| 18 |
win32{ |
| 19 |
INCLUDEPATH += $$QT.dtkcore.includes |
| 20 |
LIBS += -L$$QT.dtkcore.libs -ldtkcore |
| 21 |
INCLUDEPATH += $$QT.dtkwidget.includes |
| 22 |
LIBS += -L$$QT.dtkwidget.libs -ldtkwidget |
| 23 |
} |
| 24 |
|
| 25 |
################################################################## |
| 26 |
# Library |
| 27 |
################################################################## |
| 28 |
win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../libdbm/release/ -llibdbm |
| 29 |
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../libdbm/debug/ -llibdbm |
| 30 |
else:unix: LIBS += -L$$OUT_PWD/../libdbm/ -llibdbm |
| 31 |
|
| 32 |
INCLUDEPATH += $$PWD/../libdbm |
| 33 |
DEPENDPATH += $$PWD/../libdbm |
| 34 |
|
| 35 |
win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../libdbm/release/liblibdbm.a |
| 36 |
else:win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../libdbm/debug/liblibdbm.a |
| 37 |
else:win32:!win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../libdbm/release/libdbm.lib |
| 38 |
else:win32:!win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../libdbm/debug/libdbm.lib |
| 39 |
else:unix: PRE_TARGETDEPS += $$OUT_PWD/../libdbm/liblibdbm.a |
| 40 |
|
| 41 |
win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../vendor/src/libxsys/release/ -lxsys |
| 42 |
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../vendor/src/libxsys/debug/ -lxsys |
| 43 |
else:unix: LIBS += -L$$OUT_PWD/../vendor/src/libxsys/ -lxsys |
| 44 |
|
| 45 |
INCLUDEPATH += $$PWD/../vendor/src/libxsys |
| 46 |
DEPENDPATH += $$PWD/../vendor/src/libxsys |
| 47 |
|
| 48 |
win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../vendor/src/libxsys/release/libxsys.a |
| 49 |
else:win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../vendor/src/libxsys/debug/libxsys.a |
| 50 |
else:win32:!win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../vendor/src/libxsys/release/xsys.lib |
| 51 |
else:win32:!win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../vendor/src/libxsys/debug/xsys.lib |
| 52 |
else:unix: PRE_TARGETDEPS += $$OUT_PWD/../vendor/src/libxsys/libxsys.a |