moonlight-qt/app/app.pro

72 lines
2.3 KiB
Prolog
Raw Normal View History

2018-05-06 00:25:55 +00:00
#-------------------------------------------------
#
# Project created by QtCreator 2018-04-28T14:01:01
#
#-------------------------------------------------
QT += core gui network gamepad
2018-05-06 00:25:55 +00:00
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = moonlight-qt
TEMPLATE = app
# The following define makes your compiler emit warnings if you use
# any feature of Qt which has been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS
# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
macx {
INCLUDEPATH += $$PWD/../libs/mac/include
2018-05-06 04:42:46 +00:00
LIBS += $$PWD/../libs/mac/lib/libssl.1.1.dylib
LIBS += $$PWD/../libs/mac/lib/libcrypto.1.1.dylib
2018-05-06 00:25:55 +00:00
}
unix:!macx {
CONFIG += link_pkgconfig
PKGCONFIG += openssl sdl2
2018-05-06 00:25:55 +00:00
}
SOURCES += \
main.cpp \
streaming/audio.c \
streaming/input.c \
gui/mainwindow.cpp \
gui/popupmanager.cpp \
http/identitymanager.cpp \
http/nvhttp.cpp \
http/nvpairingmanager.cpp
2018-05-06 00:25:55 +00:00
HEADERS += \
utils.h \
gui/mainwindow.h \
gui/popupmanager.h \
http/identitymanager.h \
http/nvhttp.h \
http/nvpairingmanager.h
2018-05-06 00:25:55 +00:00
FORMS += \
gui/mainwindow.ui
2018-05-06 00:25:55 +00:00
RESOURCES += \
resources.qrc
win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../moonlight-common-c/release/ -lmoonlight-common-c
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../moonlight-common-c/debug/ -lmoonlight-common-c
else:unix: LIBS += -L$$OUT_PWD/../moonlight-common-c/ -lmoonlight-common-c
INCLUDEPATH += $$PWD/../moonlight-common-c/moonlight-common-c/src
DEPENDPATH += $$PWD/../moonlight-common-c/moonlight-common-c/src
win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../opus/release/ -lopus
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../opus/debug/ -lopus
else:unix: LIBS += -L$$OUT_PWD/../opus/ -lopus
INCLUDEPATH += $$PWD/../opus/opus/include
DEPENDPATH += $$PWD/../opus/opus/include