Browse Source

update sdx build

pull/112/head
Duke 1 year ago
parent
commit
3b521bdcf3
  1. 16
      silentdragonx.pro

16
silentdragonx.pro

@ -138,10 +138,10 @@ TRANSLATIONS = res-drgx/silentdragon_be.ts \
include(singleapplication/singleapplication.pri)
DEFINES += QAPPLICATION_CLASS=QApplication _FORTIFY_SOURCE=2
QMAKE_INFO_PLIST = res/Info.plist
QMAKE_INFO_PLIST = res-drgx/Info.plist
win32: RC_ICONS = res/icon.ico
ICON = res/logo.icns
win32: RC_ICONS = res-drgx/icon.ico
ICON = res-drgx/logo.icns
libsodium.target = $$PWD/res/libsodium.a
libsodium.commands = res/libsodium/buildlibsodium.sh
@ -154,12 +154,12 @@ qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
win32:CONFIG(release, debug|release): LIBS += -L$$PWD/res/ -llibsodium
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/res/ -llibsodiumd
else:unix: LIBS += -L$$PWD/res/ -lsodium
win32:CONFIG(release, debug|release): LIBS += -L$$PWD/res-drgx/ -llibsodium
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/res-drgx/ -llibsodiumd
else:unix: LIBS += -L$$PWD/res-drgx/ -lsodium
INCLUDEPATH += $$PWD/res
DEPENDPATH += $$PWD/res
INCLUDEPATH += $$PWD/res-drgx
DEPENDPATH += $$PWD/res-drgx
win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$PWD/res/liblibsodium.a
else:win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$PWD/res/liblibsodium.a

Loading…
Cancel
Save