2011-07-02 13:58:55 -04:00
|
|
|
# FreeRDP: A Remote Desktop Protocol Client
|
|
|
|
# libfreerdp-core cmake build script
|
|
|
|
#
|
|
|
|
# Copyright 2011 O.S. Systems Software Ltda.
|
|
|
|
# Copyright 2011 Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
# Copyright 2011 Marc-Andre Moreau <marcandre.moreau@gmail.com>
|
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
2011-06-30 22:20:39 -04:00
|
|
|
|
|
|
|
add_definitions(-DEXT_PATH="/usr/lib/freerdp/extensions")
|
2011-07-31 11:22:09 +10:00
|
|
|
include_directories(${OPENSSL_INCLUDE_DIR})
|
|
|
|
include_directories(${ZLIB_INCLUDE_DIRS})
|
2011-06-30 22:20:39 -04:00
|
|
|
|
|
|
|
set(LIBFREERDP_CORE_SRCS
|
2011-07-25 13:52:48 -04:00
|
|
|
activation.c
|
|
|
|
activation.h
|
2011-07-03 22:47:35 -04:00
|
|
|
ber.c
|
|
|
|
ber.h
|
2011-07-04 17:05:58 -04:00
|
|
|
gcc.c
|
|
|
|
gcc.h
|
2011-07-03 22:47:35 -04:00
|
|
|
mcs.c
|
|
|
|
mcs.h
|
2011-07-03 12:42:35 -04:00
|
|
|
nego.c
|
|
|
|
nego.h
|
2011-07-11 18:46:36 -04:00
|
|
|
info.c
|
|
|
|
info.h
|
2011-07-27 20:14:12 -04:00
|
|
|
input.c
|
|
|
|
input.h
|
2011-07-07 11:27:24 -04:00
|
|
|
crypto.c
|
|
|
|
crypto.h
|
|
|
|
credssp.c
|
|
|
|
credssp.h
|
|
|
|
ntlmssp.c
|
|
|
|
ntlmssp.h
|
2011-07-11 20:46:03 -04:00
|
|
|
license.c
|
|
|
|
license.h
|
2011-08-07 23:59:28 -04:00
|
|
|
errinfo.c
|
|
|
|
errinfo.h
|
2011-07-11 18:46:36 -04:00
|
|
|
security.c
|
|
|
|
security.h
|
2011-07-07 13:37:48 -04:00
|
|
|
settings.c
|
2011-07-25 01:45:25 -04:00
|
|
|
orders.c
|
|
|
|
orders.h
|
2011-07-28 00:38:25 -04:00
|
|
|
freerdp.c
|
2011-07-19 16:30:05 -04:00
|
|
|
capabilities.c
|
|
|
|
capabilities.h
|
2011-07-12 18:18:24 -04:00
|
|
|
certificate.c
|
|
|
|
certificate.h
|
2011-07-10 01:48:10 -04:00
|
|
|
connection.c
|
|
|
|
connection.h
|
2011-07-11 20:46:03 -04:00
|
|
|
redirection.c
|
|
|
|
redirection.h
|
2011-07-10 15:34:43 -04:00
|
|
|
rdp.c
|
|
|
|
rdp.h
|
2011-07-04 17:05:58 -04:00
|
|
|
per.c
|
|
|
|
per.h
|
2011-07-03 15:34:15 -04:00
|
|
|
tcp.c
|
|
|
|
tcp.h
|
2011-07-03 17:29:09 -04:00
|
|
|
tls.c
|
|
|
|
tls.h
|
2011-07-02 17:10:10 -04:00
|
|
|
tpdu.c
|
|
|
|
tpdu.h
|
2011-07-02 14:40:03 -04:00
|
|
|
tpkt.c
|
|
|
|
tpkt.h
|
2011-08-02 00:19:39 +08:00
|
|
|
fastpath.c
|
|
|
|
fastpath.h
|
2011-08-23 21:01:19 +08:00
|
|
|
surface.c
|
|
|
|
surface.h
|
2011-07-03 10:59:07 +08:00
|
|
|
transport.c
|
|
|
|
transport.h
|
2011-07-25 01:45:25 -04:00
|
|
|
update.c
|
|
|
|
update.h
|
2011-08-03 02:03:02 +08:00
|
|
|
vchan.c
|
|
|
|
vchan.h
|
2011-08-09 02:32:50 -04:00
|
|
|
window.c
|
|
|
|
window.h
|
2011-08-18 16:06:32 +08:00
|
|
|
listener.c
|
|
|
|
listener.h
|
|
|
|
peer.c
|
|
|
|
peer.h
|
2011-09-01 21:20:08 -07:00
|
|
|
mppc.c
|
2011-06-30 22:20:39 -04:00
|
|
|
)
|
|
|
|
|
2011-09-01 22:18:58 +08:00
|
|
|
add_library(freerdp-core ${LIBFREERDP_CORE_SRCS})
|
2011-06-30 22:20:39 -04:00
|
|
|
|
2011-08-16 23:54:42 -04:00
|
|
|
set_target_properties(freerdp-core PROPERTIES VERSION ${FREERDP_VERSION_FULL} SOVERSION ${FREERDP_VERSION} PREFIX "lib")
|
|
|
|
|
2011-08-16 17:40:29 -04:00
|
|
|
if(WIN32)
|
|
|
|
target_link_libraries(freerdp-core ws2_32)
|
|
|
|
else()
|
|
|
|
target_link_libraries(freerdp-core ${ZLIB_LIBRARIES})
|
|
|
|
endif()
|
|
|
|
|
2011-07-31 11:22:09 +10:00
|
|
|
target_link_libraries(freerdp-core ${OPENSSL_LIBRARIES})
|
2011-07-05 20:44:26 -04:00
|
|
|
target_link_libraries(freerdp-core freerdp-utils)
|
2011-09-13 15:39:40 -04:00
|
|
|
target_link_libraries(freerdp-core freerdp-common)
|
2011-07-03 17:29:09 -04:00
|
|
|
|
2011-08-25 00:00:24 -04:00
|
|
|
install(TARGETS freerdp-core DESTINATION ${CMAKE_INSTALL_LIBDIR})
|