mirror of
https://github.com/UltraCoderRU/libwebrtc.git
synced 2026-01-28 11:15:13 +00:00
Include header files inside CMakeLists.txt
This commit is contained in:
parent
062f50a0a0
commit
735024c66a
8 changed files with 19 additions and 7 deletions
|
|
@ -15,6 +15,18 @@ set(PEERCONNECTION_SOURCE_FILES
|
|||
SetRemoteSessionDescriptionObserver.cpp
|
||||
)
|
||||
|
||||
set(PEERCONNECTION_HEADER_FILES
|
||||
Console.h
|
||||
Core.h
|
||||
CreateSessionObserver.h
|
||||
DataChannelObserver.h
|
||||
IPeer.h
|
||||
Peer.h
|
||||
PeerConnectionObserver.h
|
||||
SetLocalSessionDescriptionObserver.h
|
||||
SetRemoteSessionDescriptionObserver.h
|
||||
)
|
||||
|
||||
include_directories(${CMAKE_SOURCE_DIR}/out/src)
|
||||
|
||||
if(WIN)
|
||||
|
|
@ -24,7 +36,7 @@ else(WIN)
|
|||
set(PEERCONNECTION_SOURCE_FILES ${PEERCONNECTION_SOURCE_FILES} UnixConsole.cpp)
|
||||
endif(WIN)
|
||||
|
||||
add_executable(PeerConnection ${PEERCONNECTION_SOURCE_FILES})
|
||||
add_executable(PeerConnection ${PEERCONNECTION_SOURCE_FILES} ${PEERCONNECTION_HEADER_FILES})
|
||||
|
||||
set(PEERCONNECTION_LIBRARIES ${CMAKE_BINARY_DIR}/${LIBWEBRTC_LIBRARY} Threads::Threads)
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
//
|
||||
|
||||
#include "CreateSessionObserver.h"
|
||||
#include "UnixConsole.h"
|
||||
#include "Console.h"
|
||||
#include "Peer.h"
|
||||
#include "SetLocalSessionDescriptionObserver.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
//
|
||||
|
||||
#include "DataChannelObserver.h"
|
||||
#include "UnixConsole.h"
|
||||
#include "Console.h"
|
||||
|
||||
|
||||
DataChannelObserver::DataChannelObserver(
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
#include <third_party/jsoncpp/source/include/json/writer.h>
|
||||
#include "SetLocalSessionDescriptionObserver.h"
|
||||
#include "UnixConsole.h"
|
||||
#include "Console.h"
|
||||
|
||||
SetLocalSessionDescriptionObserver::SetLocalSessionDescriptionObserver(
|
||||
webrtc::SessionDescriptionInterface* desc): _desc(desc) {
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
#include "SetRemoteSessionDescriptionObserver.h"
|
||||
#include "CreateSessionObserver.h"
|
||||
#include "UnixConsole.h"
|
||||
#include "Console.h"
|
||||
|
||||
|
||||
SetRemoteSessionDescriptionObserver::SetRemoteSessionDescriptionObserver(
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
#include <fcntl.h>
|
||||
#include <termios.h>
|
||||
#include <unistd.h>
|
||||
#include "UnixConsole.h"
|
||||
#include "Console.h"
|
||||
|
||||
static int ttyErase;
|
||||
static int ttyEof;
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
#include "DataChannelObserver.h"
|
||||
#include "Peer.h"
|
||||
#include "SetRemoteSessionDescriptionObserver.h"
|
||||
#include "UnixConsole.h"
|
||||
#include "Console.h"
|
||||
|
||||
enum {
|
||||
STATE_EXCHANGE = 0,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue