|
Packit |
1fb8d4 |
# FreeRDP: A Remote Desktop Protocol Implementation
|
|
Packit |
1fb8d4 |
# FreeRDP Wayland Client cmake build script
|
|
Packit |
1fb8d4 |
#
|
|
Packit |
1fb8d4 |
# Copyright 2014 Manuel Bachmann <tarnyko@tarnyko.net>
|
|
Packit |
1fb8d4 |
# Copyright 2015 David Fort <contact@hardening-consulting.com>
|
|
Packit |
1fb8d4 |
#
|
|
Packit |
1fb8d4 |
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
Packit |
1fb8d4 |
# you may not use this file except in compliance with the License.
|
|
Packit |
1fb8d4 |
# You may obtain a copy of the License at
|
|
Packit |
1fb8d4 |
#
|
|
Packit |
1fb8d4 |
# http://www.apache.org/licenses/LICENSE-2.0
|
|
Packit |
1fb8d4 |
#
|
|
Packit |
1fb8d4 |
# Unless required by applicable law or agreed to in writing, software
|
|
Packit |
1fb8d4 |
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
Packit |
1fb8d4 |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
Packit |
1fb8d4 |
# See the License for the specific language governing permissions and
|
|
Packit |
1fb8d4 |
# limitations under the License.
|
|
Packit |
1fb8d4 |
|
|
Packit |
1fb8d4 |
set(MODULE_NAME "wlfreerdp")
|
|
Packit |
1fb8d4 |
set(MODULE_PREFIX "FREERDP_CLIENT_WAYLAND")
|
|
Packit |
1fb8d4 |
|
|
Packit |
1fb8d4 |
include_directories(${WAYLAND_INCLUDE_DIR})
|
|
Packit |
1fb8d4 |
include_directories(${CMAKE_SOURCE_DIR}/uwac/include)
|
|
Packit |
1fb8d4 |
|
|
Packit |
1fb8d4 |
set(${MODULE_PREFIX}_SRCS
|
|
Packit |
1fb8d4 |
wlfreerdp.c
|
|
Packit |
1fb8d4 |
wlfreerdp.h
|
|
Packit Service |
5a9772 |
wlf_disp.c
|
|
Packit Service |
5a9772 |
wlf_disp.h
|
|
Packit Service |
5a9772 |
wlf_pointer.c
|
|
Packit Service |
5a9772 |
wlf_pointer.h
|
|
Packit |
1fb8d4 |
wlf_input.c
|
|
Packit |
1fb8d4 |
wlf_input.h
|
|
Packit Service |
5a9772 |
wlf_cliprdr.c
|
|
Packit Service |
5a9772 |
wlf_cliprdr.h
|
|
Packit |
1fb8d4 |
wlf_channels.c
|
|
Packit |
1fb8d4 |
wlf_channels.h
|
|
Packit |
1fb8d4 |
)
|
|
Packit |
1fb8d4 |
|
|
Packit Service |
5a9772 |
list (APPEND ${MODULE_PREFIX}_LIBS freerdp-client freerdp uwac)
|
|
Packit Service |
5a9772 |
|
|
Packit |
1fb8d4 |
add_executable(${MODULE_NAME} ${${MODULE_PREFIX}_SRCS})
|
|
Packit |
1fb8d4 |
|
|
Packit |
1fb8d4 |
target_link_libraries(${MODULE_NAME} ${${MODULE_PREFIX}_LIBS})
|
|
Packit |
1fb8d4 |
|
|
Packit |
1fb8d4 |
install(TARGETS ${MODULE_NAME} DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT client)
|
|
Packit |
1fb8d4 |
|
|
Packit |
1fb8d4 |
set_property(TARGET ${MODULE_NAME} PROPERTY FOLDER "Client/Wayland")
|
|
Packit |
1fb8d4 |
configure_file(wlfreerdp.1.in ${CMAKE_CURRENT_BINARY_DIR}/wlfreerdp.1)
|
|
Packit |
1fb8d4 |
install_freerdp_man(${CMAKE_CURRENT_BINARY_DIR}/wlfreerdp.1 1)
|