2011-07-02 21: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-07-01 06:20:39 +04:00
|
|
|
|
|
|
|
add_definitions(-DEXT_PATH="/usr/lib/freerdp/extensions")
|
2012-02-21 09:56:55 +04:00
|
|
|
|
2011-07-31 05:22:09 +04:00
|
|
|
include_directories(${OPENSSL_INCLUDE_DIR})
|
|
|
|
include_directories(${ZLIB_INCLUDE_DIRS})
|
2011-07-01 06:20:39 +04:00
|
|
|
|
|
|
|
set(LIBFREERDP_CORE_SRCS
|
2011-07-25 21:52:48 +04:00
|
|
|
activation.c
|
|
|
|
activation.h
|
2011-11-10 00:33:58 +04:00
|
|
|
extension.c
|
|
|
|
extension.h
|
2011-07-05 01:05:58 +04:00
|
|
|
gcc.c
|
|
|
|
gcc.h
|
2011-07-04 06:47:35 +04:00
|
|
|
mcs.c
|
|
|
|
mcs.h
|
2011-07-03 20:42:35 +04:00
|
|
|
nego.c
|
|
|
|
nego.h
|
2011-07-12 02:46:36 +04:00
|
|
|
info.c
|
|
|
|
info.h
|
2012-04-14 22:19:31 +04:00
|
|
|
http.c
|
|
|
|
http.h
|
|
|
|
rpc.c
|
|
|
|
rpc.h
|
2012-04-19 22:09:27 +04:00
|
|
|
rts.c
|
|
|
|
rts.h
|
2011-07-28 04:14:12 +04:00
|
|
|
input.c
|
|
|
|
input.h
|
2011-07-12 04:46:03 +04:00
|
|
|
license.c
|
|
|
|
license.h
|
2011-08-08 07:59:28 +04:00
|
|
|
errinfo.c
|
|
|
|
errinfo.h
|
2011-07-12 02:46:36 +04:00
|
|
|
security.c
|
|
|
|
security.h
|
2011-07-07 21:37:48 +04:00
|
|
|
settings.c
|
2011-07-25 09:45:25 +04:00
|
|
|
orders.c
|
|
|
|
orders.h
|
2011-07-28 08:38:25 +04:00
|
|
|
freerdp.c
|
2011-10-21 01:28:59 +04:00
|
|
|
graphics.c
|
2011-07-20 00:30:05 +04:00
|
|
|
capabilities.c
|
|
|
|
capabilities.h
|
2011-07-13 02:18:24 +04:00
|
|
|
certificate.c
|
|
|
|
certificate.h
|
2011-07-10 09:48:10 +04:00
|
|
|
connection.c
|
|
|
|
connection.h
|
2011-07-12 04:46:03 +04:00
|
|
|
redirection.c
|
|
|
|
redirection.h
|
2012-02-16 10:53:58 +04:00
|
|
|
timezone.c
|
|
|
|
timezone.h
|
2011-07-10 23:34:43 +04:00
|
|
|
rdp.c
|
|
|
|
rdp.h
|
2011-07-03 23:34:15 +04:00
|
|
|
tcp.c
|
|
|
|
tcp.h
|
2012-03-26 10:45:01 +04:00
|
|
|
tsg.c
|
|
|
|
tsg.h
|
2011-07-03 01:10:10 +04:00
|
|
|
tpdu.c
|
|
|
|
tpdu.h
|
2011-07-02 22:40:03 +04:00
|
|
|
tpkt.c
|
|
|
|
tpkt.h
|
2011-08-01 20:19:39 +04:00
|
|
|
fastpath.c
|
|
|
|
fastpath.h
|
2011-08-23 17:01:19 +04:00
|
|
|
surface.c
|
|
|
|
surface.h
|
2011-07-03 06:59:07 +04:00
|
|
|
transport.c
|
|
|
|
transport.h
|
2011-07-25 09:45:25 +04:00
|
|
|
update.c
|
|
|
|
update.h
|
2011-10-16 08:50:10 +04:00
|
|
|
channel.c
|
|
|
|
channel.h
|
2011-08-09 10:32:50 +04:00
|
|
|
window.c
|
|
|
|
window.h
|
2011-08-18 12:06:32 +04:00
|
|
|
listener.c
|
|
|
|
listener.h
|
|
|
|
peer.c
|
|
|
|
peer.h
|
2011-07-01 06:20:39 +04:00
|
|
|
)
|
|
|
|
|
2011-09-01 18:18:58 +04:00
|
|
|
add_library(freerdp-core ${LIBFREERDP_CORE_SRCS})
|
2011-07-01 06:20:39 +04:00
|
|
|
|
2011-08-17 07:54:42 +04:00
|
|
|
set_target_properties(freerdp-core PROPERTIES VERSION ${FREERDP_VERSION_FULL} SOVERSION ${FREERDP_VERSION} PREFIX "lib")
|
|
|
|
|
2011-08-17 01:40:29 +04:00
|
|
|
if(WIN32)
|
|
|
|
target_link_libraries(freerdp-core ws2_32)
|
|
|
|
else()
|
|
|
|
target_link_libraries(freerdp-core ${ZLIB_LIBRARIES})
|
|
|
|
endif()
|
|
|
|
|
2011-07-06 04:44:26 +04:00
|
|
|
target_link_libraries(freerdp-core freerdp-utils)
|
2011-10-03 04:52:17 +04:00
|
|
|
target_link_libraries(freerdp-core freerdp-codec)
|
2012-02-18 02:43:00 +04:00
|
|
|
target_link_libraries(freerdp-core freerdp-locale)
|
2011-07-04 01:29:09 +04:00
|
|
|
|
2012-05-26 00:42:35 +04:00
|
|
|
target_link_libraries(freerdp-core winpr-utils)
|
2012-05-05 02:32:34 +04:00
|
|
|
target_link_libraries(freerdp-core winpr-rpc)
|
2012-05-05 03:48:53 +04:00
|
|
|
target_link_libraries(freerdp-core winpr-sspi)
|
2012-06-16 01:06:26 +04:00
|
|
|
target_link_libraries(freerdp-core winpr-registry)
|
2012-05-05 02:32:34 +04:00
|
|
|
|
2012-05-26 00:42:35 +04:00
|
|
|
target_link_libraries(freerdp-core freerdp-crypto)
|
|
|
|
target_link_libraries(freerdp-core ${OPENSSL_LIBRARIES})
|
|
|
|
|
2011-08-25 08:00:24 +04:00
|
|
|
install(TARGETS freerdp-core DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
2012-02-17 09:58:30 +04:00
|
|
|
|