moonlight-qt/moonlight-common-c/moonlight-common-c.pro

94 lines
2.3 KiB
Prolog
Raw Normal View History

2018-05-06 00:25:55 +00:00
#-------------------------------------------------
#
# Project created by QtCreator 2018-05-05T17:41:00
#
#-------------------------------------------------
QT -= core gui
TARGET = moonlight-common-c
TEMPLATE = lib
# Build a static library
CONFIG += staticlib
2018-07-29 00:22:12 +00:00
# Disable warnings
CONFIG += warn_off
# Include global qmake defs
include(../globaldefs.pri)
2018-06-24 03:08:17 +00:00
win32 {
contains(QT_ARCH, i386) {
INCLUDEPATH += $$PWD/../libs/windows/include/x86
}
contains(QT_ARCH, x86_64) {
INCLUDEPATH += $$PWD/../libs/windows/include/x64
}
contains(QT_ARCH, arm64) {
INCLUDEPATH += $$PWD/../libs/windows/include/arm64
}
2018-06-24 03:08:17 +00:00
INCLUDEPATH += $$PWD/../libs/windows/include
}
2018-05-06 00:25:55 +00:00
macx {
INCLUDEPATH += $$PWD/../libs/mac/include
}
unix:!macx {
CONFIG += link_pkgconfig
PKGCONFIG += openssl
2018-09-25 03:40:49 +00:00
DEFINES += HAVE_CLOCK_GETTIME=1
2018-05-06 00:25:55 +00:00
}
COMMON_C_DIR = $$PWD/moonlight-common-c
ENET_DIR = $$COMMON_C_DIR/enet
RS_DIR = $$COMMON_C_DIR/reedsolomon
SOURCES += \
$$RS_DIR/rs.c \
$$ENET_DIR/callbacks.c \
$$ENET_DIR/compress.c \
$$ENET_DIR/host.c \
$$ENET_DIR/list.c \
$$ENET_DIR/packet.c \
$$ENET_DIR/peer.c \
$$ENET_DIR/protocol.c \
$$ENET_DIR/unix.c \
$$ENET_DIR/win32.c \
$$COMMON_C_DIR/src/AudioStream.c \
$$COMMON_C_DIR/src/ByteBuffer.c \
$$COMMON_C_DIR/src/Connection.c \
$$COMMON_C_DIR/src/ConnectionTester.c \
2018-05-06 00:25:55 +00:00
$$COMMON_C_DIR/src/ControlStream.c \
$$COMMON_C_DIR/src/FakeCallbacks.c \
$$COMMON_C_DIR/src/InputStream.c \
$$COMMON_C_DIR/src/LinkedBlockingQueue.c \
$$COMMON_C_DIR/src/Misc.c \
$$COMMON_C_DIR/src/Platform.c \
2021-04-19 00:34:12 +00:00
$$COMMON_C_DIR/src/PlatformCrypto.c \
2018-05-06 00:25:55 +00:00
$$COMMON_C_DIR/src/PlatformSockets.c \
$$COMMON_C_DIR/src/RtpAudioQueue.c \
$$COMMON_C_DIR/src/RtpVideoQueue.c \
2018-05-06 00:25:55 +00:00
$$COMMON_C_DIR/src/RtspConnection.c \
$$COMMON_C_DIR/src/RtspParser.c \
$$COMMON_C_DIR/src/SdpGenerator.c \
2018-10-27 03:22:38 +00:00
$$COMMON_C_DIR/src/SimpleStun.c \
2018-05-06 00:25:55 +00:00
$$COMMON_C_DIR/src/VideoDepacketizer.c \
$$COMMON_C_DIR/src/VideoStream.c
HEADERS += \
$$COMMON_C_DIR/src/Limelight.h
INCLUDEPATH += \
$$RS_DIR \
$$ENET_DIR/include \
$$COMMON_C_DIR/src
DEFINES += HAS_SOCKLEN_T
2018-07-22 02:33:44 +00:00
CONFIG(debug, debug|release) {
2018-07-22 23:05:42 +00:00
# Enable asserts on debug builds
DEFINES += LC_DEBUG
}
2018-07-22 02:33:44 +00:00
# Older GCC versions defaulted to GNU89
*-g++ {
QMAKE_CFLAGS += -std=gnu99
}