Reorganize source and add libraries
This commit is contained in:
parent
6adb3f0f45
commit
63b6da601a
104 changed files with 39023 additions and 52 deletions
1
moonlight-common-c/moonlight-common-c
Submodule
1
moonlight-common-c/moonlight-common-c
Submodule
|
|
@ -0,0 +1 @@
|
|||
Subproject commit c4692a5b5f5abc048eb980a5884fc65d506703f2
|
||||
65
moonlight-common-c/moonlight-common-c.pro
Normal file
65
moonlight-common-c/moonlight-common-c.pro
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
#-------------------------------------------------
|
||||
#
|
||||
# Project created by QtCreator 2018-05-05T17:41:00
|
||||
#
|
||||
#-------------------------------------------------
|
||||
|
||||
QT -= core gui
|
||||
|
||||
TARGET = moonlight-common-c
|
||||
TEMPLATE = lib
|
||||
|
||||
macx {
|
||||
INCLUDEPATH += $$PWD/../libs/mac/include
|
||||
LIBS += $$PWD/../libs/mac/lib/libssl.dylib
|
||||
LIBS += $$PWD/../libs/mac/lib/libcrypto.dylib
|
||||
}
|
||||
unix:!macx {
|
||||
CONFIG += link_pkgconfig
|
||||
PKGCONFIG += openssl
|
||||
}
|
||||
|
||||
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/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 \
|
||||
$$COMMON_C_DIR/src/PlatformSockets.c \
|
||||
$$COMMON_C_DIR/src/RtpFecQueue.c \
|
||||
$$COMMON_C_DIR/src/RtpReorderQueue.c \
|
||||
$$COMMON_C_DIR/src/RtspConnection.c \
|
||||
$$COMMON_C_DIR/src/RtspParser.c \
|
||||
$$COMMON_C_DIR/src/SdpGenerator.c \
|
||||
$$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
|
||||
CONFIG += warn_off
|
||||
DEFINES += HAS_SOCKLEN_T
|
||||
|
||||
unix {
|
||||
target.path = /usr/lib
|
||||
INSTALLS += target
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue