mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 00:14:11 +09:00
libfreerdp-core: added cmake script
This commit is contained in:
@@ -28,3 +28,4 @@ add_subdirectory(libfreerdp-utils)
|
||||
add_subdirectory(libfreerdp-kbd)
|
||||
add_subdirectory(libfreerdp-gdi)
|
||||
|
||||
#add_subdirectory(libfreerdp-core)
|
||||
|
||||
20
libfreerdp-core/CMakeLists.txt
Normal file
20
libfreerdp-core/CMakeLists.txt
Normal file
@@ -0,0 +1,20 @@
|
||||
# libfreerdp-core
|
||||
|
||||
include_directories(.)
|
||||
include_directories(../include)
|
||||
|
||||
add_definitions(-DL_ENDIAN=1)
|
||||
add_definitions(-DEXT_PATH="/usr/lib/freerdp/extensions")
|
||||
|
||||
set(LIBFREERDP_CORE_SRCS
|
||||
nego.c
|
||||
nego.h
|
||||
credssp.c
|
||||
credssp.h
|
||||
ntlmssp.c
|
||||
ntlmssp.h
|
||||
)
|
||||
|
||||
add_library(freerdp-core SHARED ${LIBFREERDP_CORE_SRCS})
|
||||
|
||||
install(TARGETS freerdp-core DESTINATION lib)
|
||||
@@ -17,15 +17,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include "frdp.h"
|
||||
#include "rdp.h"
|
||||
#include "tls.h"
|
||||
#include "asn1.h"
|
||||
#include "security.h"
|
||||
#include "stream.h"
|
||||
#include "tcp.h"
|
||||
#include "mcs.h"
|
||||
#include "iso.h"
|
||||
#ifndef _WIN32
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
@@ -17,9 +17,6 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include "frdp.h"
|
||||
#include "rdp.h"
|
||||
#include "tcp.h"
|
||||
#include "stream.h"
|
||||
#include <freerdp/utils/memory.h>
|
||||
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
#ifndef __NEGO_H
|
||||
#define __NEGO_H
|
||||
|
||||
#include "frdp.h"
|
||||
#include "stream.h"
|
||||
#include "network.h"
|
||||
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
#ifndef __NTLMSSP_H
|
||||
#define __NTLMSSP_H
|
||||
|
||||
#include "security.h"
|
||||
#include "credssp.h"
|
||||
|
||||
#include <freerdp/utils/debug.h>
|
||||
|
||||
Reference in New Issue
Block a user