2012-10-09 07:02:04 +04:00
|
|
|
# FreeRDP: A Remote Desktop Protocol Implementation
|
2012-10-14 04:55:28 +04:00
|
|
|
# FreeRDP Clients
|
2011-07-03 20:42:35 +04:00
|
|
|
#
|
2012-10-01 19:48:53 +04:00
|
|
|
# Copyright 2012 Marc-Andre Moreau <marcandre.moreau@gmail.com>
|
2011-07-03 20:42:35 +04:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2012-10-14 04:55:28 +04:00
|
|
|
# Clients
|
2011-08-07 21:41:54 +04:00
|
|
|
|
2012-10-14 11:43:10 +04:00
|
|
|
add_subdirectory(common)
|
|
|
|
|
2012-10-14 04:55:28 +04:00
|
|
|
if(WIN32)
|
|
|
|
add_subdirectory(Windows)
|
|
|
|
else()
|
|
|
|
if(WITH_SAMPLE)
|
|
|
|
add_subdirectory(Sample)
|
2011-08-16 22:41:12 +04:00
|
|
|
endif()
|
2011-08-07 21:41:54 +04:00
|
|
|
|
2012-01-23 17:19:40 +04:00
|
|
|
if(WITH_DIRECTFB)
|
2011-08-16 22:41:12 +04:00
|
|
|
add_subdirectory(DirectFB)
|
|
|
|
endif()
|
2012-10-14 04:55:28 +04:00
|
|
|
endif()
|
|
|
|
|
2012-11-03 03:27:01 +04:00
|
|
|
if(WITH_X11)
|
|
|
|
add_subdirectory(X11)
|
2011-07-28 21:46:36 +04:00
|
|
|
endif()
|
2012-08-16 08:07:51 +04:00
|
|
|
|
2013-02-14 17:59:12 +04:00
|
|
|
if(APPLE)
|
|
|
|
if(IOS)
|
|
|
|
if(IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/iOS")
|
|
|
|
message(STATUS "Adding iOS client")
|
|
|
|
add_subdirectory(iOS)
|
|
|
|
endif()
|
|
|
|
else()
|
|
|
|
add_subdirectory(Mac)
|
|
|
|
endif()
|
2012-08-16 08:07:51 +04:00
|
|
|
endif()
|
2012-10-14 04:55:28 +04:00
|
|
|
|
2012-10-22 20:31:30 +04:00
|
|
|
if(ANDROID)
|
|
|
|
if(IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/Android")
|
|
|
|
message(STATUS "Adding Android client")
|
|
|
|
add_subdirectory(Android)
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
|