2013-01-29 15:59:58 +04:00
|
|
|
# FreeRDP cmake android options
|
|
|
|
#
|
2013-12-04 14:37:57 +04:00
|
|
|
# Copyright 2013 Thincast Technologies GmbH
|
|
|
|
# Copyright 2013 Bernhard Miklautz <bernhard.miklautz@thincast.com>
|
2013-01-29 15:59:58 +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.
|
|
|
|
|
2013-09-17 17:57:48 +04:00
|
|
|
set(JAVA_DEBUG_DEFAULT "off")
|
2013-09-17 18:09:45 +04:00
|
|
|
if("${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
|
2013-09-17 17:57:48 +04:00
|
|
|
set(JAVA_DEBUG_DEFAULT "on")
|
|
|
|
endif()
|
|
|
|
|
2013-01-29 15:59:58 +04:00
|
|
|
option(WITH_DEBUG_ANDROID_JNI "Enable debug output for android jni bindings" ${DEFAULT_DEBUG_OPTION})
|
2013-10-02 16:29:08 +04:00
|
|
|
option(WITH_ANDROID_DEBUG_MENU "Enable debug output for android jni bindings" ${DEFAULT_DEBUG_OPTION})
|
2013-09-23 14:38:44 +04:00
|
|
|
option(WITH_OPENSLES "Enable sound and microphone redirection using OpenSLES" ON)
|
2013-01-29 15:59:58 +04:00
|
|
|
option(ANDROID_BUILD_JAVA "Automatically android java code - build type depends on CMAKE_BUILD_TYPE" ON)
|
2013-09-17 17:57:48 +04:00
|
|
|
option(ANDROID_BUILD_JAVA_DEBUG "Create a android debug package" ${JAVA_DEBUG_DEFAULT})
|
2013-11-08 16:15:04 +04:00
|
|
|
|
2013-11-08 16:31:04 +04:00
|
|
|
set(ANDROID_APP_VERSION 3 CACHE STRING "Application version")
|
2014-11-15 02:51:01 +03:00
|
|
|
set(ANDROID_APP_TARGET_SDK 21 CACHE STRING "Application target android SDK")
|
2013-09-27 13:44:24 +04:00
|
|
|
set(ANDROID_APP_MIN_SDK 9 CACHE STRING "Application minimum android SDK requirement")
|
2013-09-17 17:57:48 +04:00
|
|
|
set(ANDROID_APP_GOOGLE_TARGET_SDK "16" CACHE STRING "Application target google SDK")
|
|
|
|
|